Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 47.92 kB / 371 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2525, allocations: 52.17 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01227/0.2648, allocations: 9.697 MB / 432.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.2704, allocations: 3.123 MB / 435.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/0.2712, allocations: 31.88 kB / 436 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.2727, allocations: 0.6134 MB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.2738, allocations: 0.5815 MB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.2744, allocations: 327.4 kB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.2764, allocations: 1.759 MB / 439.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007908/0.2772, allocations: 457.2 kB / 439.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009506/0.2781, allocations: 0.6927 MB / 440.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009308/0.279, allocations: 0.7506 MB / 441.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.2793, allocations: 160 kB / 441.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.2797, allocations: 196 kB / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.28, allocations: 330.8 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008085/0.2808, allocations: 0.8048 MB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.2831, allocations: 1.992 MB / 444.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2831, allocations: 3.938 kB / 444.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2831, allocations: 0 / 444.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.2831, allocations: 0 / 444.6 MB, free: 9.078 MB / 350.1 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.003473/0.2866, allocations: 1.751 MB / 446.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2866, allocations: 8.031 kB / 446.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/0.2872, allocations: 207.9 kB / 446.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.2887, allocations: 0.7641 MB / 447.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.2889, allocations: 116.4 kB / 447.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.289, allocations: 116.1 kB / 447.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.2911, allocations: 1.142 MB / 448.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.2911, allocations: 7.938 kB / 448.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.2912, allocations: 48 kB / 448.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.2913, allocations: 28 kB / 448.8 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.2929, allocations: 0.7574 MB / 449.5 MB, free: 3.957 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006179/0.2991, allocations: 3.821 MB / 453.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3008, allocations: 0.5465 MB / 453.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.3014, allocations: 248.5 kB / 454.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.3014, allocations: 8.484 kB / 454.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.3021, allocations: 294.1 kB / 454.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.487e-06/0.3021, allocations: 4 kB / 454.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005009/0.3071, allocations: 1.865 MB / 456.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002871/0.3074, allocations: 475.3 kB / 456.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.309, allocations: 1.109 MB / 457.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.309, allocations: 41.7 kB / 457.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.3096, allocations: 0.6599 MB / 458.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.3099, allocations: 246 kB / 458.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.3102, allocations: 198.8 kB / 459 MB, free: 10.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3103, allocations: 341.9 kB / 459.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.3109, allocations: 242.5 kB / 459.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3119, allocations: 0.7126 MB / 460.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.3134, allocations: 0.9412 MB / 461.3 MB, free: 7.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3134, allocations: 7.938 kB / 461.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002214/0.3156, allocations: 1.138 MB / 462.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.3156, allocations: 63.41 kB / 462.5 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.3157, allocations: 15.94 kB / 462.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.3163, allocations: 173.7 kB / 462.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.317, allocations: 207.6 kB / 462.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.3215, allocations: 3.677 MB / 466.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.3225, allocations: 67.84 kB / 466.6 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.3226, allocations: 52.09 kB / 466.6 MB, free: 1.809 MB / 366.1 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.000495/0.3231, allocations: 300.9 kB / 466.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.3232, allocations: 127.3 kB / 467.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.3248, allocations: 0.706 MB / 467.8 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3248, allocations: 12 kB / 467.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3248, allocations: 0 / 467.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.3263, allocations: 0.9551 MB / 468.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.3293, allocations: 1.756 MB / 470.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3293, allocations: 0 / 470.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.3298, allocations: 107.8 kB / 470.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.3302, allocations: 132.8 kB / 470.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.3303, allocations: 16 kB / 470.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.3339, allocations: 3.377 MB / 474.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3339, allocations: 0 / 474.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.3359, allocations: 1.049 MB / 475.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.3363, allocations: 187.2 kB / 475.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3364, allocations: 19.98 kB / 475.4 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.337, allocations: 40.09 kB / 475.4 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3372, allocations: 60.34 kB / 475.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.3372, allocations: 19.98 kB / 475.5 MB, free: 8.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.3383, allocations: 0.7445 MB / 476.2 MB, free: 7.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3383, allocations: 4 kB / 476.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001189/0.3395, allocations: 304 kB / 476.5 MB, free: 7.434 MB / 382.1 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.0002879/0.3397, allocations: 151 kB / 476.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3418, allocations: 1.061 MB / 477.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3418, allocations: 0 / 477.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000963/0.3428, allocations: 0.5512 MB / 478.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3442, allocations: 327.1 kB / 478.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.3479, allocations: 2.253 MB / 480.9 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.3487, allocations: 1.082 MB / 481.9 MB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004948/0.3491, allocations: 153.8 kB / 482.1 MB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.3493, allocations: 75.44 kB / 482.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3493, allocations: 0 / 482.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of Templates: time 0.03349/0.3828, allocations: 18.95 MB / 0.4894 GB, free: 14.92 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.098494352772832]