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.001913/0.001913, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001975/0.001975, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.00172/0.00172, allocations: 51.94 kB / 378.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2791, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01118/0.2902, allocations: 8.468 MB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.2964, allocations: 2.94 MB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2979, allocations: 35.81 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2996, allocations: 0.5666 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3013, allocations: 0.5854 MB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008331/0.3021, allocations: 323.5 kB / 444.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.3044, allocations: 1.762 MB / 446.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.3051, allocations: 421.4 kB / 446.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000957/0.3061, allocations: 0.6928 MB / 447.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.3069, allocations: 0.6413 MB / 448 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.3071, allocations: 164 kB / 448.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.3075, allocations: 192 kB / 448.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.3078, allocations: 334.8 kB / 448.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006835/0.3085, allocations: 0.6611 MB / 449.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.3107, allocations: 2.004 MB / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3108, allocations: 0 / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3108, allocations: 0 / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.3108, allocations: 0 / 451.4 MB, free: 2.832 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.003447/0.3142, allocations: 1.774 MB / 453.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3143, allocations: 12.03 kB / 453.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/0.3149, allocations: 199.9 kB / 453.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.3164, allocations: 0.7641 MB / 454.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.3167, allocations: 171.9 kB / 454.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.3168, allocations: 116.1 kB / 454.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.3191, allocations: 1.573 MB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.3192, allocations: 4 kB / 456 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.3193, allocations: 48 kB / 456 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.3193, allocations: 24 kB / 456 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.3209, allocations: 0.7574 MB / 456.8 MB, free: 13.1 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.005555/0.3264, allocations: 3.189 MB / 460 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.328, allocations: 0.5429 MB / 460.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.3285, allocations: 246.7 kB / 460.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.3286, allocations: 16.42 kB / 460.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006562/0.3292, allocations: 323.9 kB / 461.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.645e-06/0.3292, allocations: 0 / 461.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004692/0.3339, allocations: 1.845 MB / 462.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002915/0.3342, allocations: 479.3 kB / 463.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.3356, allocations: 0.9634 MB / 464.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.3356, allocations: 45.7 kB / 464.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.3363, allocations: 0.6751 MB / 465.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.3365, allocations: 238 kB / 465.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.3368, allocations: 206.8 kB / 465.5 MB, free: 4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.337, allocations: 345.9 kB / 465.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/0.3377, allocations: 297.9 kB / 466.1 MB, free: 3.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.3392, allocations: 1.165 MB / 467.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3408, allocations: 0.9412 MB / 468.3 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3408, allocations: 7.938 kB / 468.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002336/0.3431, allocations: 1.176 MB / 469.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3432, allocations: 67.41 kB / 469.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3432, allocations: 12.53 kB / 469.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.3438, allocations: 175.9 kB / 469.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.3445, allocations: 199.7 kB / 469.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004736/0.3493, allocations: 3.61 MB / 473.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.3502, allocations: 59.92 kB / 473.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.3503, allocations: 47.98 kB / 473.6 MB, free: 11.16 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.0005315/0.3508, allocations: 301.7 kB / 473.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.351, allocations: 115.3 kB / 474 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.3526, allocations: 0.6889 MB / 474.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3526, allocations: 12 kB / 474.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3526, allocations: 0 / 474.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001634/0.3542, allocations: 0.9552 MB / 475.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.3571, allocations: 1.511 MB / 477.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3571, allocations: 3.938 kB / 477.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.3577, allocations: 103.9 kB / 477.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.3581, allocations: 129.8 kB / 477.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.3582, allocations: 12 kB / 477.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/0.3621, allocations: 3.304 MB / 480.7 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.3621, allocations: 11.91 kB / 480.7 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.3641, allocations: 1.033 MB / 481.8 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.3646, allocations: 167.2 kB / 481.9 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3647, allocations: 19.98 kB / 481.9 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.3654, allocations: 51.84 kB / 482 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3655, allocations: 56.34 kB / 482.1 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.3655, allocations: 20.11 kB / 482.1 MB, free: 2.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3665, allocations: 0.6345 MB / 482.7 MB, free: 1.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3665, allocations: 0 / 482.7 MB, free: 1.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001139/0.3677, allocations: 300 kB / 483 MB, free: 1.293 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.0002557/0.3679, allocations: 147.1 kB / 483.1 MB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.3701, allocations: 1.123 MB / 484.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3701, allocations: 4 kB / 484.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.3712, allocations: 0.5351 MB / 484.8 MB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.3724, allocations: 294.3 kB / 485.1 MB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.3764, allocations: 2.246 MB / 487.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.377, allocations: 0.493 MB / 487.8 MB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005159/0.3775, allocations: 128.6 kB / 488 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3777, allocations: 71.44 kB / 488 MB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3777, allocations: 0 / 488 MB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.03467/0.4123, allocations: 18.94 MB / 0.4951 GB, free: 9.5 MB / 414.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.287248209118843]