Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002605/0.002605, allocations: 87.67 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003056/0.003056, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.62e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.02059/0.02062, allocations: 9.523 MB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009796/0.03042, allocations: 3.088 MB / 284.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.03249, allocations: 31.81 kB / 285 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.03526, allocations: 0.5665 MB / 285.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.03773, allocations: 0.6045 MB / 286.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.03874, allocations: 323.4 kB / 286.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.04172, allocations: 1.842 MB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.04268, allocations: 425.3 kB / 288.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.04475, allocations: 1.044 MB / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1162/0.1609, allocations: 0.5647 MB / 290.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.1613, allocations: 157.7 kB / 290.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.1619, allocations: 192.6 kB / 290.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1621, allocations: 348.1 kB / 291 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.1626, allocations: 0.5599 MB / 291.6 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1647, allocations: 2.014 MB / 293.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1648, allocations: 1.688 kB / 293.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1648, allocations: 3.828 kB / 293.6 MB, free: 16.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.198e-05/0.1648, allocations: 0 / 293.6 MB, free: 16.79 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002939/0.1677, allocations: 1.967 MB / 295.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1677, allocations: 10.56 kB / 295.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00064/0.1684, allocations: 296.3 kB / 295.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1696, allocations: 0.7888 MB / 296.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1697, allocations: 164.1 kB / 296.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.1699, allocations: 127 kB / 296.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.1716, allocations: 1.664 MB / 298.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.1717, allocations: 10.41 kB / 298.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.1718, allocations: 50.3 kB / 298.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.1718, allocations: 27 kB / 298.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1732, allocations: 0.7233 MB / 299.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.1781, allocations: 4.101 MB / 303.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.1796, allocations: 0.5647 MB / 304.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.1801, allocations: 234.9 kB / 304.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.1801, allocations: 15.27 kB / 304.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005334/0.1806, allocations: 330.2 kB / 304.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.465e-06/0.1806, allocations: 1.406 kB / 304.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.003976/0.1846, allocations: 1.853 MB / 306.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.1847, allocations: 473.8 kB / 307 MB, free: 10.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1859, allocations: 1.228 MB / 308.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.1859, allocations: 43.61 kB / 308.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.1863, allocations: 0.773 MB / 309 MB, free: 8.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.1865, allocations: 258.8 kB / 309.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.1867, allocations: 229.8 kB / 309.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.1868, allocations: 0.5417 MB / 310 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.1872, allocations: 289.1 kB / 310.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.188, allocations: 1.379 MB / 311.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009996/0.189, allocations: 1.115 MB / 312.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.189, allocations: 2.75 kB / 312.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001689/0.1907, allocations: 1.229 MB / 314 MB, free: 4.645 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.1907, allocations: 60.91 kB / 314.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1907, allocations: 16.94 kB / 314.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.1912, allocations: 174.9 kB / 314.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.1918, allocations: 202 kB / 314.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.1953, allocations: 4.764 MB / 319.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.1961, allocations: 60.05 kB / 319.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.1962, allocations: 48 kB / 319.3 MB, free: 15.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.1968, allocations: 338.3 kB / 319.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.197, allocations: 143.2 kB / 319.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.1986, allocations: 0.682 MB / 320.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1986, allocations: 4 kB / 320.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1986, allocations: 0 / 320.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/0.2002, allocations: 0.9399 MB / 321.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.2038, allocations: 1.836 MB / 323.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2038, allocations: 10.19 kB / 323.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.2043, allocations: 95.33 kB / 323.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.2049, allocations: 140.1 kB / 323.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.2049, allocations: 15.94 kB / 323.5 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.2098, allocations: 4.473 MB / 328 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.2098, allocations: 3.094 kB / 328 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.2122, allocations: 1.115 MB / 329.1 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/0.2128, allocations: 163.2 kB / 329.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.2129, allocations: 19.98 kB / 329.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.2135, allocations: 35.92 kB / 329.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.2137, allocations: 67.61 kB / 329.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.2137, allocations: 16 kB / 329.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.2149, allocations: 0.7399 MB / 330.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.215, allocations: 4 kB / 330.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001253/0.2162, allocations: 304 kB / 330.4 MB, free: 4.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003117/0.2165, allocations: 133.7 kB / 330.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.219, allocations: 1.289 MB / 331.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.219, allocations: 0 / 331.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.2202, allocations: 0.6679 MB / 332.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.2223, allocations: 302.7 kB / 332.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005891/0.2281, allocations: 2.141 MB / 335 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.229, allocations: 0.4891 MB / 335.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008182/0.2298, allocations: 128.6 kB / 335.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.2301, allocations: 68.5 kB / 335.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.435e-06/0.2301, allocations: 4 kB / 335.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of Templates: time 0.0487/0.2788, allocations: 17.24 MB / 352.9 MB, free: 13.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.429844886995852]