Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.582e-05, allocations: 6.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009494/0.00952, allocations: 6.369 MB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.0142, allocations: 2.22 MB / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005648/0.01477, allocations: 19.94 kB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.01611, allocations: 484.9 kB / 281.3 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.01725, allocations: 432.5 kB / 281.7 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.01772, allocations: 203.8 kB / 281.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.01953, allocations: 1.248 MB / 283.2 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005959/0.02012, allocations: 324.4 kB / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.02124, allocations: 0.7053 MB / 284.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005592/0.02179, allocations: 358.9 kB / 284.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.02196, allocations: 112 kB / 284.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.02226, allocations: 152 kB / 284.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.02249, allocations: 235.1 kB / 285 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.02295, allocations: 379.1 kB / 285.4 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.02477, allocations: 1.437 MB / 286.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02477, allocations: 0 / 286.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02478, allocations: 0 / 286.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.02479, allocations: 0 / 286.8 MB, free: 3.086 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002281/0.02707, allocations: 1.194 MB / 288 MB, free: 1.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.02711, allocations: 11.98 kB / 288 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.02774, allocations: 212.2 kB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.02895, allocations: 0.5992 MB / 288.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.02901, allocations: 58.38 kB / 288.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.02915, allocations: 84.33 kB / 289 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.03093, allocations: 0.8262 MB / 289.8 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.03096, allocations: 4.188 kB / 289.8 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.1157/0.1467, allocations: 34.3 kB / 289.8 MB, free: 28.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.1467, allocations: 20.38 kB / 289.9 MB, free: 28.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.1481, allocations: 0.5107 MB / 290.4 MB, free: 28.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.1518, allocations: 2.982 MB / 293.4 MB, free: 26.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.1522, allocations: 212.9 kB / 293.6 MB, free: 26.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1525, allocations: 114 kB / 293.7 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1525, allocations: 6.719 kB / 293.7 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1525, allocations: 37.41 kB / 293.7 MB, free: 26.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.1525, allocations: 1.219 kB / 293.7 MB, free: 26.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001969/0.1545, allocations: 0.9014 MB / 294.6 MB, free: 26.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1545, allocations: 85.16 kB / 294.7 MB, free: 26.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/0.1554, allocations: 0.6806 MB / 295.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1554, allocations: 31.77 kB / 295.4 MB, free: 25.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.1557, allocations: 0.5077 MB / 295.9 MB, free: 25.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.1558, allocations: 111.8 kB / 296 MB, free: 25.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.1559, allocations: 111.8 kB / 296.1 MB, free: 25.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.156, allocations: 375.6 kB / 296.5 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1563, allocations: 120.7 kB / 296.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.1567, allocations: 450.2 kB / 297.1 MB, free: 24.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.1574, allocations: 0.5752 MB / 297.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.1574, allocations: 3.562 kB / 297.6 MB, free: 23.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001128/0.1586, allocations: 0.6331 MB / 298.3 MB, free: 23.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1586, allocations: 13.31 kB / 298.3 MB, free: 23.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.1586, allocations: 10.28 kB / 298.3 MB, free: 23.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.1588, allocations: 34.56 kB / 298.3 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.1592, allocations: 139.9 kB / 298.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007664/0.16, allocations: 1.261 MB / 299.7 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.1605, allocations: 34.53 kB / 299.8 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1605, allocations: 29.31 kB / 299.8 MB, free: 22.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.1608, allocations: 248.1 kB / 300 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1609, allocations: 76.28 kB / 300.1 MB, free: 22.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.1616, allocations: 313.7 kB / 300.4 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1616, allocations: 3.344 kB / 300.4 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1616, allocations: 0 / 300.4 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1616, allocations: 6.938 kB / 300.4 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1631, allocations: 0.9068 MB / 301.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1631, allocations: 2.188 kB / 301.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.1634, allocations: 54.27 kB / 301.4 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.933e-05/0.1635, allocations: 26.66 kB / 301.4 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1635, allocations: 7.891 kB / 301.4 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006493/0.1642, allocations: 1.248 MB / 302.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1642, allocations: 3.609 kB / 302.7 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.165, allocations: 0.5508 MB / 303.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.1652, allocations: 91.69 kB / 303.3 MB, free: 19.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.1652, allocations: 12.62 kB / 303.3 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.1656, allocations: 24.31 kB / 303.4 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.1656, allocations: 27.02 kB / 303.4 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1657, allocations: 7.5 kB / 303.4 MB, free: 19.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005736/0.1662, allocations: 465.3 kB / 303.8 MB, free: 19.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1662, allocations: 3.938 kB / 303.8 MB, free: 19.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007263/0.167, allocations: 156.3 kB / 304 MB, free: 19.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.1671, allocations: 121.6 kB / 304.1 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.168, allocations: 454.5 kB / 304.6 MB, free: 19.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.168, allocations: 0 / 304.6 MB, free: 19.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.1684, allocations: 235.3 kB / 304.8 MB, free: 19.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/0.1693, allocations: 177.4 kB / 305 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1714, allocations: 1.355 MB / 306.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1719, allocations: 350.2 kB / 306.7 MB, free: 18.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.1722, allocations: 81.83 kB / 306.7 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1723, allocations: 46.08 kB / 306.8 MB, free: 18.03 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1723, allocations: 3.719 kB / 306.8 MB, free: 18.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01322/0.1855, allocations: 7.992 MB / 314.8 MB, free: 11.22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.627443857956678]