Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001756/0.001756, allocations: 88.23 kB / 21.44 MB, free: 272 kB / 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.001501/0.001501, allocations: 163.5 kB / 24.7 MB, free: 3.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.081e-05, allocations: 6.281 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01122/0.01125, allocations: 8.394 MB / 307.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005873/0.01713, allocations: 2.926 MB / 310.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.01837, allocations: 27.88 kB / 310.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.02029, allocations: 0.5703 MB / 310.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.02226, allocations: 0.6161 MB / 311.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.02312, allocations: 323.4 kB / 311.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002613/0.02574, allocations: 1.836 MB / 313.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008823/0.02662, allocations: 421.3 kB / 314.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.02847, allocations: 1.033 MB / 315.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.02958, allocations: 0.5375 MB / 315.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003149/0.02989, allocations: 160 kB / 315.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.03043, allocations: 199.9 kB / 316 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.03076, allocations: 346.6 kB / 316.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008907/0.03166, allocations: 0.5534 MB / 316.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.03415, allocations: 2.005 MB / 318.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.03416, allocations: 4 kB / 318.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03416, allocations: 0 / 318.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.018e-05/0.03421, allocations: 0 / 318.9 MB, free: 4.664 MB / 302.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.003526/0.03773, allocations: 1.747 MB / 320.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.03778, allocations: 11.98 kB / 320.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/0.03841, allocations: 211.9 kB / 320.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.03994, allocations: 0.7711 MB / 321.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.04014, allocations: 167.8 kB / 321.8 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.04031, allocations: 116.3 kB / 321.9 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.165/0.2053, allocations: 1.565 MB / 323.5 MB, free: 34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.796e-05/0.2054, allocations: 3.078 kB / 323.5 MB, free: 34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.2055, allocations: 46.88 kB / 323.5 MB, free: 34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.2055, allocations: 25.81 kB / 323.6 MB, free: 34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.2071, allocations: 0.7542 MB / 324.3 MB, free: 33.85 MB / 302.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.004928/0.2121, allocations: 3.197 MB / 327.5 MB, free: 31.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.2136, allocations: 0.5442 MB / 328 MB, free: 31.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.2141, allocations: 240.9 kB / 328.3 MB, free: 31.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.2141, allocations: 13.97 kB / 328.3 MB, free: 31.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.2147, allocations: 318.6 kB / 328.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.845e-06/0.2147, allocations: 3.5 kB / 328.6 MB, free: 31.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004441/0.2192, allocations: 1.848 MB / 330.5 MB, free: 30.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2193, allocations: 478 kB / 330.9 MB, free: 30.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.2208, allocations: 0.9663 MB / 331.9 MB, free: 29.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.2208, allocations: 40.77 kB / 331.9 MB, free: 29.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.2212, allocations: 0.6676 MB / 332.6 MB, free: 29.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.2214, allocations: 243.4 kB / 332.8 MB, free: 29.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.2216, allocations: 198.9 kB / 333 MB, free: 28.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.2217, allocations: 351.4 kB / 333.4 MB, free: 28.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.2223, allocations: 301.6 kB / 333.7 MB, free: 28.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009583/0.2232, allocations: 1.166 MB / 334.8 MB, free: 27.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.2246, allocations: 0.9442 MB / 335.8 MB, free: 26.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.2246, allocations: 7.562 kB / 335.8 MB, free: 26.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002215/0.2268, allocations: 1.185 MB / 337 MB, free: 25.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.2269, allocations: 64.06 kB / 337 MB, free: 25.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.2269, allocations: 12.41 kB / 337 MB, free: 25.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.2275, allocations: 170.8 kB / 337.2 MB, free: 25.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.2283, allocations: 206.9 kB / 337.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/0.2318, allocations: 3.592 MB / 341 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.2328, allocations: 61.56 kB / 341.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.2329, allocations: 46.72 kB / 341.1 MB, free: 22.66 MB / 302.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.0004335/0.2333, allocations: 299.2 kB / 341.4 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.2334, allocations: 114.1 kB / 341.5 MB, free: 22.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.2348, allocations: 0.6969 MB / 342.2 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2348, allocations: 6.875 kB / 342.2 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2348, allocations: 0 / 342.2 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/0.236, allocations: 0.9556 MB / 343.2 MB, free: 21.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.2385, allocations: 1.515 MB / 344.7 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2385, allocations: 1.219 kB / 344.7 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.239, allocations: 104.6 kB / 344.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.2394, allocations: 133.2 kB / 344.9 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.2394, allocations: 13.22 kB / 344.9 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/0.2419, allocations: 3.303 MB / 348.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2419, allocations: 5.375 kB / 348.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.2435, allocations: 1.037 MB / 349.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.2438, allocations: 162.1 kB / 349.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2439, allocations: 19.02 kB / 349.5 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.2445, allocations: 41.47 kB / 349.5 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2446, allocations: 53.47 kB / 349.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.2447, allocations: 25.73 kB / 349.6 MB, free: 16.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006897/0.2454, allocations: 0.6315 MB / 350.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2454, allocations: 0 / 350.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009851/0.2463, allocations: 307.8 kB / 350.5 MB, free: 15.95 MB / 302.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.0001946/0.2465, allocations: 135.2 kB / 350.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.2482, allocations: 1.128 MB / 351.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2482, allocations: 0 / 351.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.249, allocations: 0.5297 MB / 352.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.2501, allocations: 299.1 kB / 352.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.2528, allocations: 2.07 MB / 354.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.2531, allocations: 0.493 MB / 355.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.2535, allocations: 136.6 kB / 355.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2536, allocations: 76.5 kB / 355.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2536, allocations: 0 / 355.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Templates: time 0.02514/0.2788, allocations: 16.99 MB / 372.4 MB, free: 9.938 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.914133112877607]