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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,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=500000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 98.52 kB / 16.94 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00238/0.002381, allocations: 178.9 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 16 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01049/0.1199, allocations: 7.616 MB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006667/0.1266, allocations: 2.944 MB / 338.9 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1283, allocations: 27.88 kB / 338.9 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1303, allocations: 0.4898 MB / 339.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.1327, allocations: 0.631 MB / 340 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.1335, allocations: 215.7 kB / 340.3 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.136, allocations: 1.261 MB / 341.5 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008098/0.1368, allocations: 495.4 kB / 342 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.1375, allocations: 0.5215 MB / 342.5 MB, free: 5.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.1381, allocations: 0.5872 MB / 343.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.1383, allocations: 76 kB / 343.2 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.1386, allocations: 120 kB / 343.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.1388, allocations: 227 kB / 343.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.1392, allocations: 309 kB / 343.8 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1404, allocations: 1.441 MB / 345.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1404, allocations: 0 / 345.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1404, allocations: 0 / 345.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.1405, allocations: 0 / 345.3 MB, free: 3.082 MB / 286.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.002597/0.1431, allocations: 1.555 MB / 346.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1431, allocations: 12.03 kB / 346.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.1436, allocations: 182.1 kB / 347 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1449, allocations: 0.7581 MB / 347.8 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.1451, allocations: 119.8 kB / 347.9 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.1452, allocations: 115.9 kB / 348 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.1471, allocations: 1.123 MB / 349.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.1472, allocations: 12 kB / 349.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.1473, allocations: 43.98 kB / 349.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.1473, allocations: 31.95 kB / 349.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.1487, allocations: 0.769 MB / 350 MB, free: 14.16 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.005741/0.1545, allocations: 3.875 MB / 353.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.156, allocations: 0.6085 MB / 354.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.1561, allocations: 12.55 kB / 354.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/0.1567, allocations: 299 kB / 354.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.985e-06/0.1567, allocations: 4 kB / 354.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004626/0.1613, allocations: 2.106 MB / 356.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002683/0.1616, allocations: 475.2 kB / 357.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.1631, allocations: 1.015 MB / 358.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.88e-05/0.1632, allocations: 45.64 kB / 358.4 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005804/0.1638, allocations: 0.6427 MB / 359 MB, free: 4.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.164, allocations: 224.8 kB / 359.3 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1641, allocations: 20 kB / 359.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1642, allocations: 341.9 kB / 359.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.1648, allocations: 258.5 kB / 359.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008814/0.1657, allocations: 0.7053 MB / 360.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.1664, allocations: 414.3 kB / 361 MB, free: 2.473 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1664, allocations: 4 kB / 361 MB, free: 2.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001931/0.1684, allocations: 1.134 MB / 362.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.1685, allocations: 63.41 kB / 362.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.1685, allocations: 12 kB / 362.2 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.1691, allocations: 177.1 kB / 362.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.1698, allocations: 207.7 kB / 362.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/0.174, allocations: 3.596 MB / 366.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.1752, allocations: 84.02 kB / 366.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.1753, allocations: 47.98 kB / 366.3 MB, free: 12.85 MB / 318.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005852/0.1758, allocations: 297.4 kB / 366.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.176, allocations: 126.5 kB / 366.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.1774, allocations: 0.7271 MB / 367.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1774, allocations: 8 kB / 367.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1774, allocations: 0 / 367.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.1789, allocations: 0.9724 MB / 368.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.1824, allocations: 1.751 MB / 370.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1824, allocations: 3.984 kB / 370.2 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.1829, allocations: 116 kB / 370.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.1833, allocations: 125.6 kB / 370.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.1834, allocations: 16 kB / 370.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.1868, allocations: 3.319 MB / 373.7 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.1868, allocations: 7.891 kB / 373.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.1889, allocations: 1.153 MB / 374.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.1895, allocations: 247.5 kB / 375.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.1896, allocations: 16 kB / 375.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005797/0.1902, allocations: 47.95 kB / 375.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.1903, allocations: 56.48 kB / 375.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.1904, allocations: 16 kB / 375.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009313/0.1913, allocations: 0.6819 MB / 375.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1913, allocations: 0 / 375.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001051/0.1924, allocations: 308 kB / 376.2 MB, free: 2.285 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000253/0.1927, allocations: 131.2 kB / 376.4 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.1947, allocations: 1.116 MB / 377.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1947, allocations: 0 / 377.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.1956, allocations: 0.5518 MB / 378 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.1968, allocations: 288.9 kB / 378.3 MB, free: 136 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1793/0.3761, allocations: 2.694 MB / 381 MB, free: 51.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.3768, allocations: 1.116 MB / 382.1 MB, free: 50.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006115/0.3774, allocations: 134 kB / 382.3 MB, free: 50.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3776, allocations: 72.69 kB / 382.3 MB, free: 50.4 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3776, allocations: 0 / 382.3 MB, free: 50.4 MB / 318.1 MB Notification: Performance of Templates: time 0.0286/0.4062, allocations: 15.31 MB / 397.6 MB, free: 44.83 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches