Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001503/0.001503, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.001828/0.001828, allocations: 156.5 kB / 24.23 MB, free: 328 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.01/1.01, allocations: 177 MB / 204.4 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2904/0.2904, allocations: 34.85 MB / 295.8 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 378.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.93e-05, allocations: 7.297 kB / 378.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009461/0.009501, allocations: 9.661 MB / 387.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00631/0.01581, allocations: 3.092 MB / 390.8 MB, free: 5.516 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.01791, allocations: 27.88 kB / 390.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.01966, allocations: 0.5781 MB / 391.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.02153, allocations: 0.6046 MB / 392 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.02229, allocations: 319.4 kB / 392.4 MB, free: 3.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.025, allocations: 1.843 MB / 394.2 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.02572, allocations: 421.3 kB / 394.6 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.02739, allocations: 1.045 MB / 395.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.02825, allocations: 0.5648 MB / 396.2 MB, free: 92 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.0285, allocations: 156 kB / 396.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.02896, allocations: 207.8 kB / 396.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.02918, allocations: 346.6 kB / 396.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.02987, allocations: 0.5534 MB / 397.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.03171, allocations: 1.168 MB / 398.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.03172, allocations: 0 / 398.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.03172, allocations: 0 / 398.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.03175, allocations: 3.984 kB / 398.6 MB, free: 13.66 MB / 378.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.002548/0.0343, allocations: 1.863 MB / 400.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.03435, allocations: 12.03 kB / 400.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005337/0.03489, allocations: 299.9 kB / 400.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.0359, allocations: 0.7667 MB / 401.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.03606, allocations: 163.8 kB / 401.7 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.03619, allocations: 124.3 kB / 401.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.03752, allocations: 1.359 MB / 403.2 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.03756, allocations: 7.938 kB / 403.2 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.03762, allocations: 48 kB / 403.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.03764, allocations: 27.94 kB / 403.3 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.03831, allocations: 419.6 kB / 403.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/0.04246, allocations: 3.325 MB / 407 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.04326, allocations: 409 kB / 407.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.04347, allocations: 149.5 kB / 407.6 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.04351, allocations: 12.5 kB / 407.6 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.04385, allocations: 241.5 kB / 407.8 MB, free: 3.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.156e-06/0.04386, allocations: 0 / 407.8 MB, free: 3.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.002521/0.04638, allocations: 1.457 MB / 409.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.04655, allocations: 475.3 kB / 409.7 MB, free: 1.875 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.04745, allocations: 0.9503 MB / 410.7 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.04749, allocations: 41.7 kB / 410.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.04792, allocations: 0.7287 MB / 411.5 MB, free: 120 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.04808, allocations: 250.1 kB / 411.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.04826, allocations: 200.5 kB / 411.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.04855, allocations: 0.516 MB / 412.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.04879, allocations: 181.9 kB / 412.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.04942, allocations: 1.216 MB / 413.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.05015, allocations: 0.8895 MB / 414.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.05016, allocations: 0 / 414.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001217/0.05137, allocations: 1.003 MB / 415.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.05143, allocations: 59.53 kB / 415.8 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.05144, allocations: 19.94 kB / 415.8 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.05186, allocations: 152.2 kB / 415.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.05224, allocations: 203.7 kB / 416.1 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.05539, allocations: 4.357 MB / 420.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.05602, allocations: 59.92 kB / 420.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.05607, allocations: 44 kB / 420.6 MB, free: 6.039 MB / 394.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.0003082/0.05638, allocations: 232.3 kB / 420.8 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.05653, allocations: 139.3 kB / 420.9 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.05726, allocations: 0.5149 MB / 421.5 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.05727, allocations: 11.94 kB / 421.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.05727, allocations: 0 / 421.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006411/0.05791, allocations: 0.781 MB / 422.3 MB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.05975, allocations: 1.414 MB / 423.7 MB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.05976, allocations: 0 / 423.7 MB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.06002, allocations: 107.8 kB / 423.8 MB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.06032, allocations: 123.4 kB / 423.9 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.06036, allocations: 12 kB / 423.9 MB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.06294, allocations: 4.177 MB / 428.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.06294, allocations: 4 kB / 428.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.06391, allocations: 0.8321 MB / 428.9 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.06424, allocations: 163.2 kB / 429.1 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.896e-05/0.06432, allocations: 20 kB / 429.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.0646, allocations: 36.03 kB / 429.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.0647, allocations: 56.34 kB / 429.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.06473, allocations: 19.98 kB / 429.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005865/0.06531, allocations: 0.5719 MB / 429.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.06531, allocations: 0 / 429.8 MB, free: 12.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009673/0.06628, allocations: 307.9 kB / 430.1 MB, free: 12 MB / 410.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.0003613/0.06664, allocations: 135.1 kB / 430.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.06812, allocations: 1.071 MB / 431.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.06813, allocations: 0.8125 kB / 431.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.06865, allocations: 0.5698 MB / 431.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.06958, allocations: 293.8 kB / 432.1 MB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.07306, allocations: 2.054 MB / 434.2 MB, free: 7.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.07326, allocations: 213.5 kB / 434.4 MB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.07367, allocations: 124.7 kB / 434.5 MB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.07379, allocations: 72.48 kB / 434.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.0738, allocations: 4 kB / 434.6 MB, free: 7.266 MB / 410.7 MB Notification: Performance of Templates: time 0.1582/0.232, allocations: 17.21 MB / 451.8 MB, free: 99.61 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_cvode.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_cvode.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_gbode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_gbode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_gbode.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.853838800918311]