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.001332/0.001332, allocations: 81.81 kB / 21.42 MB, free: 3.074 MB / 18.57 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.0011/0.0011, allocations: 167.1 kB / 24.82 MB, free: 8.852 MB / 18.57 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 1.02/1.02, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.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.393e-06/1.393e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.054e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.00732/0.007341, allocations: 9.365 MB / 282.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.01109, allocations: 3.077 MB / 285.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005575/0.01165, allocations: 31.88 kB / 285.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.01269, allocations: 0.5664 MB / 286.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008901/0.01358, allocations: 0.6084 MB / 287 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.01402, allocations: 323.4 kB / 287.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.01537, allocations: 1.84 MB / 289.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.01585, allocations: 425.3 kB / 289.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1125/0.1283, allocations: 1.047 MB / 290.6 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.1295, allocations: 0.5612 MB / 291.2 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.1298, allocations: 156.8 kB / 291.3 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.1303, allocations: 192.8 kB / 291.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1305, allocations: 340.8 kB / 291.9 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.1312, allocations: 0.5568 MB / 292.4 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.1328, allocations: 1.158 MB / 293.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1328, allocations: 2.922 kB / 293.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1328, allocations: 0.9688 kB / 293.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.1328, allocations: 0 / 293.6 MB, free: 16.56 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.002408/0.1352, allocations: 1.872 MB / 295.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1353, allocations: 15.83 kB / 295.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.1357, allocations: 292.3 kB / 295.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.1365, allocations: 0.7317 MB / 296.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.1366, allocations: 166.5 kB / 296.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1367, allocations: 122.8 kB / 296.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.1377, allocations: 1.301 MB / 298.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.1377, allocations: 5.281 kB / 298.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.1378, allocations: 47.09 kB / 298.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1378, allocations: 26.28 kB / 298.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.1383, allocations: 340.1 kB / 298.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.1415, allocations: 3.362 MB / 301.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.1422, allocations: 384 kB / 302.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1423, allocations: 122.8 kB / 302.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.1423, allocations: 12.34 kB / 302.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1426, allocations: 230.3 kB / 302.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.324e-06/0.1426, allocations: 1.125 kB / 302.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001814/0.1444, allocations: 1.195 MB / 303.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.1445, allocations: 478.8 kB / 304.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.1451, allocations: 0.9255 MB / 305.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1451, allocations: 39.39 kB / 305.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.1454, allocations: 0.7417 MB / 305.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1455, allocations: 242.3 kB / 306.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.1457, allocations: 212.3 kB / 306.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.1458, allocations: 0.5133 MB / 306.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1459, allocations: 155.2 kB / 307 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.1462, allocations: 1.198 MB / 308.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.1466, allocations: 0.8309 MB / 309.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1466, allocations: 7.938 kB / 309.1 MB, free: 7.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0007781/0.1474, allocations: 0.9271 MB / 310 MB, free: 7.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.1475, allocations: 64.67 kB / 310.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1475, allocations: 13.38 kB / 310.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.1478, allocations: 144.3 kB / 310.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.1481, allocations: 210.7 kB / 310.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.1498, allocations: 4.283 MB / 314.7 MB, free: 3.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.1502, allocations: 58.17 kB / 314.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.1502, allocations: 38.5 kB / 314.8 MB, free: 3.488 MB / 266.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 {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.1504, allocations: 239.9 kB / 315 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.1505, allocations: 134.1 kB / 315.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.1509, allocations: 477.5 kB / 315.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1509, allocations: 8.297 kB / 315.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1509, allocations: 7.938 kB / 315.7 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003877/0.1513, allocations: 0.7415 MB / 316.4 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.1524, allocations: 1.231 MB / 317.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1524, allocations: 0 / 317.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1526, allocations: 102.1 kB / 317.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.1528, allocations: 116.3 kB / 317.8 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.1529, allocations: 22.42 kB / 317.9 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.1545, allocations: 4.093 MB / 322 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1545, allocations: 4 kB / 322 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.1552, allocations: 0.7709 MB / 322.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.1554, allocations: 174.3 kB / 322.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.1555, allocations: 12 kB / 322.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.1557, allocations: 34.98 kB / 322.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.1558, allocations: 56.39 kB / 323 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1558, allocations: 15.98 kB / 323 MB, free: 12.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003742/0.1562, allocations: 0.5189 MB / 323.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1562, allocations: 8 kB / 323.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006819/0.1569, allocations: 300 kB / 323.8 MB, free: 11.84 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.0001998/0.1571, allocations: 130.5 kB / 324 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.158, allocations: 1.047 MB / 325 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.158, allocations: 0 / 325 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.1584, allocations: 0.5551 MB / 325.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.1591, allocations: 297.2 kB / 325.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.1616, allocations: 2.043 MB / 327.9 MB, free: 7.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.1618, allocations: 208.4 kB / 328.1 MB, free: 7.504 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.1621, allocations: 128.6 kB / 328.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.1626, allocations: 409.9 kB / 328.6 MB, free: 6.973 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1626, allocations: 4 kB / 328.6 MB, free: 6.969 MB / 282.7 MB Notification: Performance of Templates: time 0.02136/0.1839, allocations: 18.46 MB / 347.1 MB, free: 4.984 MB / 298.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 -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: 4.680800767149776]