Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.000958/0.000958, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001412/0.001412, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.995/0.995, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.845e-05, allocations: 5.969 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008219/0.008247, allocations: 7.977 MB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.01284, allocations: 2.602 MB / 283.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007914/0.01363, allocations: 31.88 kB / 283.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.0148, allocations: 492.8 kB / 284.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01598, allocations: 448.5 kB / 284.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.01646, allocations: 227.5 kB / 284.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.01778, allocations: 1.287 MB / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.01829, allocations: 342.5 kB / 286.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008958/0.01919, allocations: 0.7404 MB / 287.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.01967, allocations: 414.8 kB / 287.5 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.0198, allocations: 116 kB / 287.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.02004, allocations: 156 kB / 287.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.02016, allocations: 235.1 kB / 288 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.02048, allocations: 403 kB / 288.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.02149, allocations: 0.8133 MB / 289.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.0215, allocations: 0 / 289.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.0215, allocations: 4 kB / 289.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.02152, allocations: 0 / 289.2 MB, free: 1.039 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.1366/0.1581, allocations: 1.347 MB / 290.6 MB, free: 24.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1581, allocations: 10.03 kB / 290.6 MB, free: 24.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.1587, allocations: 238.3 kB / 290.8 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.1596, allocations: 0.5861 MB / 291.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.1597, allocations: 64.5 kB / 291.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1598, allocations: 87.5 kB / 291.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1608, allocations: 0.6948 MB / 292.2 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.1608, allocations: 6.438 kB / 292.2 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.1608, allocations: 37.16 kB / 292.3 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.1609, allocations: 25.06 kB / 292.3 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.1614, allocations: 309.4 kB / 292.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.1645, allocations: 3.266 MB / 295.9 MB, free: 22.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.1649, allocations: 158.3 kB / 296 MB, free: 22.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.165, allocations: 64.25 kB / 296.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.165, allocations: 6.547 kB / 296.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.165, allocations: 35.2 kB / 296.1 MB, free: 22.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.1651, allocations: 1.594 kB / 296.1 MB, free: 22.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001328/0.1664, allocations: 0.7419 MB / 296.9 MB, free: 22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1664, allocations: 81.33 kB / 297 MB, free: 21.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007153/0.1671, allocations: 0.6955 MB / 297.7 MB, free: 21.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1671, allocations: 30.89 kB / 297.7 MB, free: 21.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.1674, allocations: 0.5889 MB / 298.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.1675, allocations: 117.6 kB / 298.4 MB, free: 21.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1676, allocations: 126.4 kB / 298.5 MB, free: 20.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1677, allocations: 0.5544 MB / 299.1 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1678, allocations: 65 kB / 299.1 MB, free: 20.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.168, allocations: 0.5322 MB / 299.7 MB, free: 19.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.1684, allocations: 0.637 MB / 300.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.1684, allocations: 3.5 kB / 300.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006607/0.1691, allocations: 0.5471 MB / 300.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1691, allocations: 10.55 kB / 300.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1691, allocations: 11 kB / 300.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.1693, allocations: 37.05 kB / 300.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1696, allocations: 151.3 kB / 301.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006152/0.1702, allocations: 1.749 MB / 302.8 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.1705, allocations: 33.55 kB / 302.8 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.1705, allocations: 36.22 kB / 302.9 MB, free: 17.18 MB / 266.7 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.0001558/0.1707, allocations: 202.1 kB / 303.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.1707, allocations: 85.72 kB / 303.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.1711, allocations: 241.5 kB / 303.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1711, allocations: 3.469 kB / 303.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1711, allocations: 0 / 303.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1711, allocations: 2.391 kB / 303.4 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.1722, allocations: 0.9276 MB / 304.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1722, allocations: 2.188 kB / 304.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.1724, allocations: 67.95 kB / 304.4 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.13e-05/0.1724, allocations: 21.92 kB / 304.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1725, allocations: 9.109 kB / 304.4 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005171/0.173, allocations: 1.733 MB / 306.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.173, allocations: 10.59 kB / 306.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.1735, allocations: 0.4942 MB / 306.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1736, allocations: 92.72 kB / 306.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.1737, allocations: 8.953 kB / 306.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1738, allocations: 17.42 kB / 306.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.1739, allocations: 28.39 kB / 306.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1739, allocations: 12.3 kB / 306.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004689/0.1744, allocations: 439 kB / 307.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1744, allocations: 0 / 307.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007294/0.1751, allocations: 166 kB / 307.4 MB, free: 13.74 MB / 266.7 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.0002279/0.1753, allocations: 122.5 kB / 307.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.176, allocations: 442 kB / 308 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.176, allocations: 0 / 308 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.1762, allocations: 265 kB / 308.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.1768, allocations: 182.7 kB / 308.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1789, allocations: 1.384 MB / 309.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.179, allocations: 149.7 kB / 309.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1793, allocations: 83.61 kB / 310 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1794, allocations: 50.77 kB / 310.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1794, allocations: 1.406 kB / 310.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Templates: time 0.01231/0.1917, allocations: 8.305 MB / 318.4 MB, free: 5.973 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3959399820305407]