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.001833/0.001833, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001571/0.001571, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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.64/1.64, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 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 0.001632/0.001632, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3919, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01215/0.404, allocations: 8.465 MB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007204/0.4112, allocations: 2.951 MB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.4128, allocations: 31.88 kB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.4146, allocations: 0.5589 MB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.4167, allocations: 0.5854 MB / 444.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.4176, allocations: 319.5 kB / 445.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.4201, allocations: 1.767 MB / 447 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.4209, allocations: 453.3 kB / 447.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.4223, allocations: 0.6967 MB / 448.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.4234, allocations: 0.7428 MB / 448.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.4237, allocations: 164 kB / 449.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.4241, allocations: 196 kB / 449.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.4244, allocations: 330.8 kB / 449.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007641/0.4252, allocations: 0.6611 MB / 450.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.428, allocations: 2.012 MB / 452.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.428, allocations: 0 / 452.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.428, allocations: 0 / 452.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.109e-05/0.4281, allocations: 3.984 kB / 452.2 MB, free: 2.695 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.00382/0.4319, allocations: 1.755 MB / 454 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.432, allocations: 12.03 kB / 454 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006714/0.4326, allocations: 199.9 kB / 454.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.4343, allocations: 0.7758 MB / 455 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.4345, allocations: 167.7 kB / 455.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.4347, allocations: 116.1 kB / 455.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.437, allocations: 1.573 MB / 456.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.437, allocations: 4 kB / 456.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4371, allocations: 44 kB / 456.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.4371, allocations: 24 kB / 456.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4387, allocations: 0.7534 MB / 457.7 MB, free: 12.98 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.005923/0.4446, allocations: 3.205 MB / 460.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.4462, allocations: 0.5408 MB / 461.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.4467, allocations: 238.7 kB / 461.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.4468, allocations: 16.48 kB / 461.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007066/0.4475, allocations: 324.2 kB / 462 MB, free: 8.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.196e-06/0.4475, allocations: 3.938 kB / 462 MB, free: 8.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004841/0.4524, allocations: 1.841 MB / 463.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002753/0.4526, allocations: 479.3 kB / 464.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.454, allocations: 0.9634 MB / 465.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.4541, allocations: 41.7 kB / 465.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.4547, allocations: 0.6751 MB / 466 MB, free: 4.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.4549, allocations: 245.9 kB / 466.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.4552, allocations: 206.8 kB / 466.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4554, allocations: 341.9 kB / 466.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.456, allocations: 301.9 kB / 467 MB, free: 3.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4572, allocations: 1.165 MB / 468.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.4587, allocations: 0.9451 MB / 469.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.4587, allocations: 8 kB / 469.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002234/0.4609, allocations: 1.177 MB / 470.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.365e-05/0.461, allocations: 63.41 kB / 470.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.461, allocations: 12.47 kB / 470.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.4617, allocations: 175.8 kB / 470.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/0.4624, allocations: 203.7 kB / 470.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.4671, allocations: 3.606 MB / 474.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/0.4681, allocations: 67.91 kB / 474.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.4681, allocations: 48 kB / 474.5 MB, free: 11.02 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.0005087/0.4686, allocations: 301.6 kB / 474.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4688, allocations: 115.3 kB / 474.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4703, allocations: 0.6851 MB / 475.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4703, allocations: 12 kB / 475.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4703, allocations: 0 / 475.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.4718, allocations: 0.955 MB / 476.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.4746, allocations: 1.511 MB / 478.1 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4746, allocations: 0 / 478.1 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.4751, allocations: 108 kB / 478.2 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.4755, allocations: 133.8 kB / 478.3 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.4756, allocations: 12 kB / 478.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.4792, allocations: 3.303 MB / 481.6 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4792, allocations: 4.031 kB / 481.6 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4811, allocations: 1.037 MB / 482.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.4815, allocations: 159.3 kB / 482.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.4816, allocations: 23.98 kB / 482.8 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.4822, allocations: 43.84 kB / 482.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4824, allocations: 68.27 kB / 482.9 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.4824, allocations: 16 kB / 483 MB, free: 2.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009219/0.4833, allocations: 0.6345 MB / 483.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4833, allocations: 0 / 483.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001072/0.4844, allocations: 307.9 kB / 483.9 MB, free: 1.16 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.0002447/0.4846, allocations: 143.1 kB / 484 MB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.4868, allocations: 1.127 MB / 485.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4868, allocations: 0 / 485.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.4877, allocations: 0.5389 MB / 485.7 MB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.489, allocations: 287.7 kB / 486 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.4927, allocations: 2.253 MB / 488.2 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.4932, allocations: 0.4891 MB / 488.7 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.4937, allocations: 128.6 kB / 488.8 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4938, allocations: 67.44 kB / 488.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4938, allocations: 0 / 488.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of Templates: time 0.03506/0.5289, allocations: 19.23 MB / 0.4962 GB, free: 9.094 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.654008223995334]