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.002054/0.002054, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002856/0.002856, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.591/1.591, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001638/0.001638, allocations: 43.92 kB / 378.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.287, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.0119/0.2989, allocations: 8.463 MB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006453/0.3053, allocations: 2.944 MB / 443 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.3068, allocations: 35.81 kB / 443 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.3085, allocations: 0.5628 MB / 443.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.3103, allocations: 0.5854 MB / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.3111, allocations: 315.5 kB / 444.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.3133, allocations: 1.769 MB / 446.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/0.3141, allocations: 453.4 kB / 446.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3151, allocations: 0.6966 MB / 447.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.3161, allocations: 0.7506 MB / 448.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.3163, allocations: 156 kB / 448.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.3167, allocations: 200 kB / 448.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.317, allocations: 330.8 kB / 448.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007538/0.3178, allocations: 0.6573 MB / 449.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.3201, allocations: 2.015 MB / 451.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3201, allocations: 0 / 451.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3201, allocations: 0 / 451.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.3202, allocations: 0 / 451.5 MB, free: 2.727 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.003492/0.3237, allocations: 1.759 MB / 453.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3237, allocations: 12.03 kB / 453.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.3243, allocations: 203.9 kB / 453.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.3259, allocations: 0.7719 MB / 454.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.326, allocations: 163.8 kB / 454.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.3262, allocations: 112.1 kB / 454.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.3286, allocations: 1.577 MB / 456.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.3286, allocations: 4 kB / 456.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.3287, allocations: 44 kB / 456.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.3287, allocations: 28 kB / 456.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.3304, allocations: 0.7574 MB / 456.9 MB, free: 13.01 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.005851/0.3363, allocations: 3.201 MB / 460.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.3379, allocations: 0.5486 MB / 460.7 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.3385, allocations: 238.7 kB / 460.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.3385, allocations: 12.48 kB / 460.9 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.3392, allocations: 319.9 kB / 461.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.847e-06/0.3392, allocations: 0 / 461.2 MB, free: 8.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005089/0.3443, allocations: 1.845 MB / 463.1 MB, free: 6.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003084/0.3446, allocations: 479.3 kB / 463.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.3461, allocations: 0.9712 MB / 464.5 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.3461, allocations: 37.7 kB / 464.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/0.3468, allocations: 0.6712 MB / 465.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.347, allocations: 249.9 kB / 465.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.3473, allocations: 198.8 kB / 465.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3475, allocations: 341.9 kB / 466 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006415/0.3481, allocations: 301.9 kB / 466.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.3494, allocations: 1.169 MB / 467.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.351, allocations: 0.9411 MB / 468.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.351, allocations: 8 kB / 468.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002324/0.3533, allocations: 1.181 MB / 469.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.3534, allocations: 67.41 kB / 469.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3534, allocations: 15.94 kB / 469.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.3541, allocations: 165.5 kB / 469.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.3548, allocations: 203.7 kB / 470 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004749/0.3596, allocations: 3.596 MB / 473.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009431/0.3605, allocations: 76.06 kB / 473.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.3606, allocations: 44 kB / 473.7 MB, free: 11.05 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.0005026/0.3611, allocations: 301.5 kB / 474 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.3613, allocations: 111.3 kB / 474.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.3628, allocations: 0.6929 MB / 474.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3629, allocations: 4 kB / 474.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.3629, allocations: 0 / 474.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001571/0.3644, allocations: 0.9628 MB / 475.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.3674, allocations: 1.503 MB / 477.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3674, allocations: 4 kB / 477.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.3679, allocations: 108.2 kB / 477.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.3684, allocations: 128.4 kB / 477.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.3684, allocations: 16 kB / 477.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/0.3722, allocations: 3.308 MB / 480.9 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3722, allocations: 3.938 kB / 480.9 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.3743, allocations: 1.041 MB / 481.9 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.3747, allocations: 159.3 kB / 482.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.3749, allocations: 23.92 kB / 482.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.3755, allocations: 43.97 kB / 482.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3756, allocations: 60.33 kB / 482.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.3757, allocations: 20 kB / 482.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009641/0.3766, allocations: 0.6306 MB / 482.8 MB, free: 1.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3766, allocations: 0 / 482.8 MB, free: 1.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001175/0.3778, allocations: 308 kB / 483.1 MB, free: 1.191 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.0002791/0.3781, allocations: 138.1 kB / 483.3 MB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002449/0.3805, allocations: 1.135 MB / 484.4 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3805, allocations: 0 / 484.4 MB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3815, allocations: 0.5311 MB / 484.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.3829, allocations: 299 kB / 485.2 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.3871, allocations: 2.245 MB / 487.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.3877, allocations: 0.4891 MB / 488 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005574/0.3883, allocations: 136.6 kB / 488.1 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3884, allocations: 71.44 kB / 488.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3884, allocations: 4 kB / 488.2 MB, free: 11.97 MB / 398.1 MB Notification: Performance of Templates: time 0.03616/0.4246, allocations: 19.23 MB / 0.4955 GB, free: 9.117 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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.767373938579112]