Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006751/0.0006751, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009144/0.00159, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006999/0.0006999, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008922/0.001592, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9283/0.9283, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08046/1.009, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.657e-06/9.969e-06, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007333/0.007343, allocations: 9.475 MB / 254.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.01187, allocations: 3.216 MB / 257.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.01236, allocations: 31.88 kB / 257.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.01326, allocations: 0.5742 MB / 258.3 MB, free: 288 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.01405, allocations: 0.62 MB / 258.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004332/0.01449, allocations: 323.4 kB / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.01606, allocations: 1.836 MB / 261.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.01652, allocations: 433.3 kB / 261.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.0176, allocations: 1.22 MB / 262.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.01807, allocations: 0.5726 MB / 263.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.0182, allocations: 159.9 kB / 263.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.01844, allocations: 196 kB / 263.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.01859, allocations: 251.1 kB / 263.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.01895, allocations: 479.1 kB / 264.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009037/0.01985, allocations: 1.09 MB / 265.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.01986, allocations: 0 / 265.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01986, allocations: 0 / 265.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.01988, allocations: 0 / 265.5 MB, free: 9.07 MB / 266.7 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.001723/0.0216, allocations: 2.019 MB / 267.5 MB, free: 7.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.02163, allocations: 8.625 kB / 267.5 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.02223, allocations: 325.8 kB / 267.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.02288, allocations: 0.5865 MB / 268.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/0.02298, allocations: 167.8 kB / 268.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.02307, allocations: 116.4 kB / 268.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.02388, allocations: 1.261 MB / 269.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.02391, allocations: 11.89 kB / 269.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.02395, allocations: 48 kB / 270 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.02397, allocations: 28 kB / 270 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.02431, allocations: 293.8 kB / 270.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.0269, allocations: 2.701 MB / 273 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.02744, allocations: 338.9 kB / 273.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.02756, allocations: 110.8 kB / 273.4 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.0276, allocations: 16.44 kB / 273.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.02781, allocations: 219.9 kB / 273.7 MB, free: 380 kB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.725e-06/0.02781, allocations: 3.984 kB / 273.7 MB, free: 376 kB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00183/0.02965, allocations: 1.094 MB / 274.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.02968, allocations: 64.06 kB / 274.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.03022, allocations: 0.8422 MB / 275.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.03025, allocations: 37.7 kB / 275.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.0305, allocations: 0.552 MB / 276.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.03061, allocations: 245.9 kB / 276.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.03076, allocations: 194.8 kB / 276.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.03084, allocations: 353.8 kB / 277 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.03096, allocations: 138 kB / 277.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.03138, allocations: 1.013 MB / 278.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.03182, allocations: 0.6832 MB / 278.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.03182, allocations: 4 kB / 278.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0006596/0.03248, allocations: 0.7632 MB / 279.6 MB, free: 9.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.03253, allocations: 67.41 kB / 279.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.03254, allocations: 12 kB / 279.7 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.03281, allocations: 133.4 kB / 279.9 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.0332, allocations: 239.6 kB / 280.1 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.03537, allocations: 3.02 MB / 283.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.0357, allocations: 55.94 kB / 283.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.03574, allocations: 39.98 kB / 283.2 MB, free: 6.035 MB / 282.7 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 {(5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.0359, allocations: 181.7 kB / 283.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.03598, allocations: 91.91 kB / 283.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.03641, allocations: 401.6 kB / 283.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.03642, allocations: 7.938 kB / 283.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.03642, allocations: 4 kB / 283.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003889/0.03681, allocations: 0.6701 MB / 284.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.03775, allocations: 0.9219 MB / 285.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.03775, allocations: 4 kB / 285.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.03802, allocations: 132 kB / 285.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.03818, allocations: 107.2 kB / 285.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.03838, allocations: 97.58 kB / 285.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.03841, allocations: 20 kB / 285.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.04012, allocations: 2.846 MB / 288.7 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.04012, allocations: 7.938 kB / 288.7 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1049/0.145, allocations: 0.5753 MB / 289.2 MB, free: 26.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.1451, allocations: 19.62 kB / 289.3 MB, free: 26.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.1454, allocations: 32.81 kB / 289.3 MB, free: 26.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.1455, allocations: 61.75 kB / 289.4 MB, free: 26.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1456, allocations: 13.14 kB / 289.4 MB, free: 26.11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.1459, allocations: 408.8 kB / 289.8 MB, free: 26.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1459, allocations: 0 / 289.8 MB, free: 26.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007019/0.1466, allocations: 310.8 kB / 290.1 MB, free: 26.07 MB / 282.7 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.00016/0.1468, allocations: 113.9 kB / 290.2 MB, free: 26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00088/0.1477, allocations: 0.8837 MB / 291.1 MB, free: 25.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.721e-05/0.1477, allocations: 18.75 kB / 291.1 MB, free: 25.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.148, allocations: 453.3 kB / 291.5 MB, free: 25.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.1488, allocations: 391.3 kB / 291.9 MB, free: 25.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.1609, allocations: 2.093 MB / 294 MB, free: 24.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.1611, allocations: 213.7 kB / 294.2 MB, free: 24.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003765/0.1615, allocations: 132.7 kB / 294.3 MB, free: 24.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.162, allocations: 356.4 kB / 294.7 MB, free: 24.18 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.162, allocations: 0 / 294.7 MB, free: 24.18 MB / 282.7 MB Notification: Performance of Templates: time 0.01975/0.1818, allocations: 19.79 MB / 314.5 MB, free: 14.76 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8471866408362985]