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.001628/0.001628, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00171/0.00171, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.537/1.537, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.0016/0.0016, allocations: 47.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 53.32 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2115/0.3151, allocations: 9.652 MB / 436.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.3197, allocations: 3.148 MB / 439.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.3205, allocations: 37.62 kB / 439.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3221, allocations: 0.6125 MB / 440.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.3232, allocations: 0.5851 MB / 440.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.3238, allocations: 317.4 kB / 441.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3255, allocations: 1.764 MB / 442.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.3261, allocations: 451 kB / 443.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008643/0.327, allocations: 0.6982 MB / 444.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008737/0.3278, allocations: 0.7445 MB / 444.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.3281, allocations: 157.8 kB / 445 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.3286, allocations: 196.9 kB / 445.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.3288, allocations: 333.5 kB / 445.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.3294, allocations: 0.8023 MB / 446.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.3318, allocations: 1.993 MB / 448.3 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3318, allocations: 1.156 kB / 448.3 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3318, allocations: 0 / 448.3 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.3318, allocations: 4 kB / 448.3 MB, free: 356 kB / 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.00371/0.3355, allocations: 1.839 MB / 450.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3356, allocations: 10.2 kB / 450.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/0.3362, allocations: 204.7 kB / 450.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.3377, allocations: 0.8368 MB / 451.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.3379, allocations: 117.9 kB / 451.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3381, allocations: 114.1 kB / 451.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.3404, allocations: 1.142 MB / 452.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.3404, allocations: 8.172 kB / 452.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.3405, allocations: 46.38 kB / 452.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.3405, allocations: 28.16 kB / 452.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3423, allocations: 0.7601 MB / 453.4 MB, free: 13.43 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.006583/0.3489, allocations: 3.92 MB / 457.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.3505, allocations: 0.5605 MB / 457.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.3511, allocations: 244.7 kB / 458.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.3511, allocations: 8.188 kB / 458.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006483/0.3518, allocations: 291.9 kB / 458.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.524e-06/0.3518, allocations: 3.938 kB / 458.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005236/0.357, allocations: 2.092 MB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002916/0.3573, allocations: 481 kB / 461 MB, free: 8.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.3589, allocations: 1.11 MB / 462.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.359, allocations: 43.45 kB / 462.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/0.3596, allocations: 0.659 MB / 462.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.3599, allocations: 239 kB / 463 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.3602, allocations: 204.4 kB / 463.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3604, allocations: 346.7 kB / 463.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.361, allocations: 243.6 kB / 463.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.3621, allocations: 0.7098 MB / 464.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.3637, allocations: 0.9464 MB / 465.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3637, allocations: 3.656 kB / 465.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002294/0.366, allocations: 1.138 MB / 466.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.3661, allocations: 65.84 kB / 466.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.3661, allocations: 11.66 kB / 466.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.3668, allocations: 168.8 kB / 466.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.3675, allocations: 203.8 kB / 467 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.3723, allocations: 3.892 MB / 470.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3734, allocations: 63.67 kB / 471 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.3735, allocations: 49.91 kB / 471 MB, free: 340 kB / 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.0005034/0.374, allocations: 298.2 kB / 471.3 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.3741, allocations: 137.3 kB / 471.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.3758, allocations: 0.6932 MB / 472.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.3758, allocations: 6 kB / 472.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3758, allocations: 1.281 kB / 472.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/0.3773, allocations: 0.9521 MB / 473.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.3804, allocations: 1.785 MB / 474.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3804, allocations: 1.156 kB / 474.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.3809, allocations: 106.7 kB / 475 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.3814, allocations: 131.7 kB / 475.1 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.3814, allocations: 15.66 kB / 475.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.3852, allocations: 3.592 MB / 478.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.3852, allocations: 3.719 kB / 478.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.3872, allocations: 1.048 MB / 479.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.3877, allocations: 262.7 kB / 480 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3878, allocations: 22.88 kB / 480.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.3885, allocations: 35.22 kB / 480.1 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3886, allocations: 57.17 kB / 480.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.3887, allocations: 18.36 kB / 480.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.3898, allocations: 0.7495 MB / 480.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3898, allocations: 0 / 480.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001196/0.391, allocations: 317.2 kB / 481.2 MB, free: 8.363 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.0002372/0.3912, allocations: 127.1 kB / 481.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.3934, allocations: 1.068 MB / 482.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3934, allocations: 0 / 482.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3944, allocations: 0.5414 MB / 483 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.3959, allocations: 343.1 kB / 483.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.3998, allocations: 2.252 MB / 485.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.4006, allocations: 1.086 MB / 486.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005112/0.4011, allocations: 145.8 kB / 486.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4013, allocations: 75.44 kB / 486.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4013, allocations: 0 / 486.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of Templates: time 0.03516/0.4364, allocations: 18.44 MB / 0.4934 GB, free: 412 kB / 398.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.421298559755087]