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.001558/0.001558, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001635/0.001635, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.021/1.021, allocations: 177 MB / 205.1 MB, free: 5.473 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.2489/0.2489, allocations: 34.87 MB / 296.6 MB, free: 436 kB / 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 1.553e-06/1.553e-06, allocations: 0 / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.363e-05, allocations: 3.578 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.00961/0.009634, allocations: 9.44 MB / 388.8 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.0147, allocations: 3.088 MB / 391.8 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009344/0.01563, allocations: 31.88 kB / 391.9 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.01694, allocations: 0.5626 MB / 392.4 MB, free: 4.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.01816, allocations: 0.6122 MB / 393.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.0187, allocations: 323.4 kB / 393.4 MB, free: 3.586 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.0203, allocations: 1.838 MB / 395.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006032/0.02091, allocations: 421.3 kB / 395.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.02224, allocations: 1.048 MB / 396.7 MB, free: 268 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007443/0.02298, allocations: 0.5803 MB / 397.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.02319, allocations: 156 kB / 397.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.0235, allocations: 188 kB / 397.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.02369, allocations: 342.7 kB / 397.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.02421, allocations: 0.5534 MB / 398.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.02533, allocations: 1.16 MB / 399.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.02533, allocations: 4 kB / 399.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02533, allocations: 0 / 399.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.02536, allocations: 0 / 399.6 MB, free: 13.29 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.002104/0.02746, allocations: 1.874 MB / 401.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.0275, allocations: 11.97 kB / 401.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.02794, allocations: 291.9 kB / 401.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.02879, allocations: 0.7296 MB / 402.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.02891, allocations: 163.8 kB / 402.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.02902, allocations: 116.3 kB / 402.8 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.03, allocations: 1.297 MB / 404.1 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.03003, allocations: 11.88 kB / 404.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.03009, allocations: 51.98 kB / 404.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.03011, allocations: 24 kB / 404.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.03054, allocations: 345.6 kB / 404.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.03387, allocations: 3.352 MB / 407.9 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.03451, allocations: 368.7 kB / 408.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.03465, allocations: 125.5 kB / 408.4 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.03469, allocations: 17.05 kB / 408.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.03493, allocations: 221.5 kB / 408.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.304e-06/0.03493, allocations: 7.938 kB / 408.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001928/0.03686, allocations: 1.2 MB / 409.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.03701, allocations: 483.3 kB / 410.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.03769, allocations: 0.9185 MB / 411.2 MB, free: 1.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.03773, allocations: 41.7 kB / 411.2 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.0381, allocations: 0.7363 MB / 412 MB, free: 236 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.03825, allocations: 245.9 kB / 412.2 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.03844, allocations: 204.5 kB / 412.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.03857, allocations: 0.5159 MB / 412.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.03873, allocations: 153.9 kB / 413.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.03931, allocations: 1.201 MB / 414.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.03989, allocations: 0.8309 MB / 415.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.0399, allocations: 4 kB / 415.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0009351/0.04084, allocations: 0.9323 MB / 416 MB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.04088, allocations: 67.39 kB / 416.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.04089, allocations: 16 kB / 416.1 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.04123, allocations: 147.1 kB / 416.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.0416, allocations: 211.8 kB / 416.5 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.04415, allocations: 4.269 MB / 420.7 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.04461, allocations: 55.92 kB / 420.8 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.04466, allocations: 40 kB / 420.8 MB, free: 6.422 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.000243/0.0449, allocations: 232.3 kB / 421.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.04502, allocations: 135.4 kB / 421.2 MB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.04558, allocations: 483.2 kB / 421.7 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.04559, allocations: 11.94 kB / 421.7 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.04559, allocations: 0 / 421.7 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005197/0.04611, allocations: 0.7419 MB / 422.4 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.04747, allocations: 1.238 MB / 423.7 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.04747, allocations: 0 / 423.7 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.04772, allocations: 100.1 kB / 423.8 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.04797, allocations: 119.2 kB / 423.9 MB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.048, allocations: 20.05 kB / 423.9 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.04997, allocations: 4.092 MB / 428 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.04997, allocations: 3.938 kB / 428 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.05065, allocations: 0.7656 MB / 428.8 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.05088, allocations: 175.2 kB / 428.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.05095, allocations: 16 kB / 428.9 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.05123, allocations: 35.97 kB / 429 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.05131, allocations: 60.33 kB / 429 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.05134, allocations: 16 kB / 429.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003878/0.05173, allocations: 0.5171 MB / 429.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.05173, allocations: 0 / 429.6 MB, free: 13.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007795/0.05251, allocations: 308 kB / 429.9 MB, free: 12.87 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.0001813/0.05269, allocations: 137.3 kB / 430 MB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009678/0.05366, allocations: 1.025 MB / 431 MB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.05366, allocations: 8.188 kB / 431 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.05407, allocations: 0.5577 MB / 431.6 MB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.05479, allocations: 287.9 kB / 431.9 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.05732, allocations: 2.066 MB / 433.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.05747, allocations: 205.5 kB / 434.1 MB, free: 8.391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.05778, allocations: 132.6 kB / 434.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/0.05832, allocations: 405.9 kB / 434.7 MB, free: 7.859 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.05833, allocations: 0 / 434.7 MB, free: 7.859 MB / 410.7 MB Notification: Performance of Templates: time 0.1511/0.2094, allocations: 18.45 MB / 453.1 MB, free: 93.2 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 & (cd run_cvode && ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > 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_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 & (cd run_gbode && ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_gbode.pipe 2>&1) [Timeout 240] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_ida.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_ida.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_ida.sim & (cd run_ida && ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.742515998892486]