Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001312/0.001312, allocations: 198 kB / 18.07 MB, free: 5.434 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.918/1.918, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001504/0.001505, allocations: 47.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 46.64 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01103/0.1382, allocations: 7.88 MB / 334.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.1435, allocations: 2.591 MB / 337.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.1447, allocations: 23.94 kB / 337.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.1467, allocations: 457.6 kB / 337.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.1483, allocations: 341.5 kB / 337.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.149, allocations: 187.8 kB / 338.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.1508, allocations: 1.179 MB / 339.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.1515, allocations: 463.9 kB / 339.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.1521, allocations: 442.1 kB / 340.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.1527, allocations: 0.4899 MB / 340.6 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1528, allocations: 72 kB / 340.7 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.1531, allocations: 116 kB / 340.8 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1533, allocations: 203.1 kB / 341 MB, free: 6.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.1538, allocations: 0.517 MB / 341.5 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1551, allocations: 1.413 MB / 342.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1551, allocations: 0 / 342.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1551, allocations: 0 / 342.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1551, allocations: 0 / 342.9 MB, free: 4.449 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00252/0.1576, allocations: 1.305 MB / 344.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.1577, allocations: 8.031 kB / 344.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.1583, allocations: 159.4 kB / 344.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.1594, allocations: 0.6376 MB / 345 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.1594, allocations: 58.38 kB / 345.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.1596, allocations: 91.84 kB / 345.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1611, allocations: 0.8184 MB / 346 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.1612, allocations: 7.984 kB / 346 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.1613, allocations: 36 kB / 346.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.1613, allocations: 20 kB / 346.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1624, allocations: 0.5387 MB / 346.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/0.1672, allocations: 3.578 MB / 350.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.1679, allocations: 246.6 kB / 350.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.1682, allocations: 116.8 kB / 350.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.1682, allocations: 4 kB / 350.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.1683, allocations: 38.56 kB / 350.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.617e-06/0.1683, allocations: 0 / 350.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002492/0.1708, allocations: 1.071 MB / 351.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1708, allocations: 85.05 kB / 351.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.1719, allocations: 0.7585 MB / 352.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.172, allocations: 29.7 kB / 352.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.1724, allocations: 0.5136 MB / 353 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.1725, allocations: 110.5 kB / 353.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.1727, allocations: 122.1 kB / 353.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1729, allocations: 386.7 kB / 353.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.1732, allocations: 137.2 kB / 353.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.1738, allocations: 438.2 kB / 354.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/0.1748, allocations: 0.6179 MB / 354.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.1748, allocations: 4 kB / 354.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001268/0.1761, allocations: 0.65 MB / 355.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.1761, allocations: 12 kB / 355.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.1761, allocations: 11.94 kB / 355.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.1763, allocations: 36.84 kB / 355.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.1768, allocations: 151.8 kB / 355.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1782, allocations: 1.288 MB / 357 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.1788, allocations: 51.95 kB / 357 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.1788, allocations: 39.97 kB / 357.1 MB, free: 5.348 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004221/0.1793, allocations: 245.5 kB / 357.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1794, allocations: 71.16 kB / 357.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/0.1801, allocations: 338.1 kB / 357.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1802, allocations: 4 kB / 357.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1802, allocations: 0 / 357.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1802, allocations: 4 kB / 357.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.182, allocations: 1.117 MB / 358.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.1821, allocations: 4 kB / 358.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.1824, allocations: 63.89 kB / 358.9 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.1825, allocations: 21.08 kB / 358.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.1825, allocations: 11.98 kB / 358.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/0.1838, allocations: 1.276 MB / 360.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1838, allocations: 4.031 kB / 360.2 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1849, allocations: 0.572 MB / 360.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.1853, allocations: 172.2 kB / 360.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.1854, allocations: 11.98 kB / 361 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.1858, allocations: 27.92 kB / 361 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1859, allocations: 23.97 kB / 361 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.186, allocations: 12 kB / 361 MB, free: 1.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008969/0.1869, allocations: 0.5186 MB / 361.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1869, allocations: 0 / 361.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009557/0.1879, allocations: 168 kB / 361.7 MB, free: 420 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003654/0.1882, allocations: 123.1 kB / 361.8 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1895, allocations: 484.7 kB / 362.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1895, allocations: 0 / 362.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.19, allocations: 243 kB / 362.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.1913, allocations: 175.3 kB / 362.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.1944, allocations: 1.813 MB / 364.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.1952, allocations: 0.9604 MB / 365.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004199/0.1956, allocations: 90.17 kB / 365.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1957, allocations: 47.44 kB / 365.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1957, allocations: 0 / 365.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of Templates: time 0.01837/0.2141, allocations: 8.001 MB / 373.6 MB, free: 4.395 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches