Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.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.001344/0.001344, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001442/0.001442, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 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.429/1.429, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2904, allocations: 53.42 MB / 432.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01299/0.3034, allocations: 9.684 MB / 442.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007399/0.3108, allocations: 3.15 MB / 445.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.3124, allocations: 35.88 kB / 445.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.3146, allocations: 0.6173 MB / 446 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.3175, allocations: 0.5893 MB / 446.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3188, allocations: 323.4 kB / 446.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.3221, allocations: 1.771 MB / 448.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.3232, allocations: 445.4 kB / 449.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3245, allocations: 0.7006 MB / 449.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.326, allocations: 0.7467 MB / 450.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.3264, allocations: 160 kB / 450.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000734/0.3271, allocations: 196 kB / 450.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.3275, allocations: 334.8 kB / 451.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.3287, allocations: 0.8087 MB / 452 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.3313, allocations: 1.984 MB / 454 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3313, allocations: 4 kB / 454 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3313, allocations: 0 / 454 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.3314, allocations: 4 kB / 454 MB, free: 1.109 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.003945/0.3353, allocations: 1.759 MB / 455.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3353, allocations: 12.03 kB / 455.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006384/0.336, allocations: 203.8 kB / 456 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.3375, allocations: 0.7718 MB / 456.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.3377, allocations: 167.8 kB / 456.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3379, allocations: 112.1 kB / 457 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3399, allocations: 1.146 MB / 458.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.34, allocations: 4 kB / 458.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.3401, allocations: 44 kB / 458.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.3401, allocations: 28 kB / 458.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.3417, allocations: 0.7574 MB / 459 MB, free: 11.92 MB / 366.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.006318/0.348, allocations: 3.813 MB / 462.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3496, allocations: 0.5461 MB / 463.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.3501, allocations: 254.7 kB / 463.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.3502, allocations: 8.5 kB / 463.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006598/0.3509, allocations: 298.1 kB / 463.9 MB, free: 6.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.866e-06/0.3509, allocations: 0 / 463.9 MB, free: 6.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004841/0.3557, allocations: 1.872 MB / 465.8 MB, free: 4.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003069/0.356, allocations: 479.3 kB / 466.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3577, allocations: 1.101 MB / 467.3 MB, free: 3.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/0.3578, allocations: 45.7 kB / 467.4 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.3584, allocations: 0.6521 MB / 468 MB, free: 2.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.3586, allocations: 246 kB / 468.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.3589, allocations: 190.9 kB / 468.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3591, allocations: 349.9 kB / 468.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.3597, allocations: 246.5 kB / 469 MB, free: 1.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009877/0.3607, allocations: 0.7056 MB / 469.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3622, allocations: 0.9413 MB / 470.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.3622, allocations: 3.938 kB / 470.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002288/0.3645, allocations: 1.146 MB / 471.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.3646, allocations: 65.91 kB / 471.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.3646, allocations: 15.94 kB / 471.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.3652, allocations: 176.8 kB / 472.1 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.3659, allocations: 203.7 kB / 472.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.3709, allocations: 3.681 MB / 476 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.372, allocations: 79.8 kB / 476 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3721, allocations: 44 kB / 476.1 MB, free: 9.77 MB / 382.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.0006064/0.3727, allocations: 297.7 kB / 476.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.3729, allocations: 127.2 kB / 476.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.3746, allocations: 0.7022 MB / 477.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3746, allocations: 4 kB / 477.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3746, allocations: 0 / 477.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/0.3761, allocations: 0.9551 MB / 478.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.3795, allocations: 1.756 MB / 479.9 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3795, allocations: 0 / 479.9 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.3801, allocations: 103.8 kB / 480 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/0.3805, allocations: 133.8 kB / 480.2 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.3806, allocations: 12 kB / 480.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003948/0.3845, allocations: 3.388 MB / 483.6 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3845, allocations: 8.094 kB / 483.6 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.3867, allocations: 1.053 MB / 484.6 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.3873, allocations: 187.1 kB / 484.8 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.3875, allocations: 16 kB / 484.8 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/0.3882, allocations: 43.97 kB / 484.9 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3884, allocations: 60.33 kB / 484.9 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.3884, allocations: 16 kB / 484.9 MB, free: 456 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.3898, allocations: 0.7484 MB / 485.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3898, allocations: 0 / 485.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001247/0.3911, allocations: 304 kB / 486 MB, free: 15.39 MB / 398.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.000301/0.3914, allocations: 143 kB / 486.1 MB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.3937, allocations: 1.076 MB / 487.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3938, allocations: 0 / 487.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3948, allocations: 0.5289 MB / 487.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.3964, allocations: 327.4 kB / 488 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.401, allocations: 2.309 MB / 490.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009483/0.4019, allocations: 1.089 MB / 491.4 MB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4022, allocations: 83.44 kB / 491.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4022, allocations: 0 / 491.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of Templates: time 0.03926/0.4415, allocations: 26.42 MB / 0.5058 GB, free: 15.33 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.372946117073298]