Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.95e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01105/0.01108, allocations: 7.069 MB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.01692, allocations: 2.442 MB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.01809, allocations: 27.88 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.01994, allocations: 492.8 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.02148, allocations: 448.4 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.02218, allocations: 223.6 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.0243, allocations: 1.291 MB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.02506, allocations: 346.5 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.0264, allocations: 0.721 MB / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006501/0.02705, allocations: 390.8 kB / 280.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.02722, allocations: 112 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.02753, allocations: 151.9 kB / 281 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.02777, allocations: 243 kB / 281.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005303/0.0283, allocations: 403 kB / 281.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.03037, allocations: 1.452 MB / 283.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03037, allocations: 3.938 kB / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03037, allocations: 0 / 283.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.03039, allocations: 0 / 283.1 MB, free: 6.863 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.002514/0.0329, allocations: 1.248 MB / 284.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.03295, allocations: 8.031 kB / 284.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.03361, allocations: 220.2 kB / 284.6 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.03484, allocations: 0.603 MB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.03491, allocations: 62.38 kB / 285.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.03506, allocations: 84.38 kB / 285.3 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.03669, allocations: 0.8728 MB / 286.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.03672, allocations: 7.953 kB / 286.2 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.03681, allocations: 36 kB / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.03683, allocations: 23.98 kB / 286.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.03804, allocations: 0.5387 MB / 286.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/0.1562, allocations: 2.98 MB / 289.8 MB, free: 32.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.1568, allocations: 228.8 kB / 290 MB, free: 32.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1571, allocations: 110.8 kB / 290.1 MB, free: 32.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1571, allocations: 8.125 kB / 290.1 MB, free: 32.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1571, allocations: 38.17 kB / 290.1 MB, free: 32.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.1571, allocations: 0 / 290.1 MB, free: 32.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002165/0.1593, allocations: 0.9347 MB / 291.1 MB, free: 31.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1593, allocations: 82.92 kB / 291.2 MB, free: 31.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.1602, allocations: 0.6868 MB / 291.8 MB, free: 31.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1602, allocations: 31.73 kB / 291.9 MB, free: 31.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.1605, allocations: 0.5345 MB / 292.4 MB, free: 31.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.1606, allocations: 115 kB / 292.5 MB, free: 31.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1607, allocations: 120 kB / 292.6 MB, free: 31.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.1608, allocations: 378.1 kB / 293 MB, free: 30.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1611, allocations: 132.3 kB / 293.1 MB, free: 30.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.1615, allocations: 476 kB / 293.6 MB, free: 30.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.1622, allocations: 0.6115 MB / 294.2 MB, free: 29.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.1622, allocations: 3.438 kB / 294.2 MB, free: 29.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001098/0.1633, allocations: 0.6838 MB / 294.9 MB, free: 29.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1633, allocations: 9.25 kB / 294.9 MB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1633, allocations: 11 kB / 294.9 MB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.1635, allocations: 35.77 kB / 295 MB, free: 29.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.164, allocations: 150.9 kB / 295.1 MB, free: 29.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007414/0.1647, allocations: 1.263 MB / 296.4 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.1653, allocations: 43.38 kB / 296.4 MB, free: 28.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.1653, allocations: 35.83 kB / 296.4 MB, free: 28.27 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.0002882/0.1656, allocations: 243.3 kB / 296.7 MB, free: 28.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1657, allocations: 82.05 kB / 296.8 MB, free: 28.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.1663, allocations: 326.6 kB / 297.1 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1664, allocations: 3.406 kB / 297.1 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1664, allocations: 8.562 kB / 297.1 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1664, allocations: 2.875 kB / 297.1 MB, free: 27.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.1678, allocations: 0.924 MB / 298 MB, free: 27.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1678, allocations: 1.375 kB / 298 MB, free: 27.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.1681, allocations: 61.58 kB / 298.1 MB, free: 27.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.026e-05/0.1682, allocations: 29.45 kB / 298.1 MB, free: 27.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1682, allocations: 7.922 kB / 298.1 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000593/0.1688, allocations: 1.247 MB / 299.4 MB, free: 26.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1688, allocations: 9.344 kB / 299.4 MB, free: 26.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.1696, allocations: 0.5736 MB / 299.9 MB, free: 25.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1698, allocations: 97.12 kB / 300 MB, free: 25.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.1699, allocations: 12.89 kB / 300 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.1702, allocations: 19.89 kB / 300.1 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.1703, allocations: 25.23 kB / 300.1 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1704, allocations: 8.062 kB / 300.1 MB, free: 25.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005774/0.1709, allocations: 470.9 kB / 300.6 MB, free: 25.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1709, allocations: 0 / 300.6 MB, free: 25.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007538/0.1717, allocations: 165.5 kB / 300.7 MB, free: 25.39 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.0001699/0.1719, allocations: 121.4 kB / 300.8 MB, free: 25.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.1727, allocations: 472.6 kB / 301.3 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1727, allocations: 0 / 301.3 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.1731, allocations: 237.8 kB / 301.5 MB, free: 24.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.1742, allocations: 181.4 kB / 301.7 MB, free: 24.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.1763, allocations: 1.406 MB / 303.1 MB, free: 23.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1767, allocations: 364 kB / 303.5 MB, free: 23.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000284/0.177, allocations: 85.38 kB / 303.6 MB, free: 23.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.1771, allocations: 49.33 kB / 303.6 MB, free: 23.85 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1771, allocations: 0 / 303.6 MB, free: 23.85 MB / 266.7 MB Notification: Performance of Templates: time 0.01337/0.1905, allocations: 8.246 MB / 311.9 MB, free: 18.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.797299726982601]