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.001133/0.001133, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001074/0.001074, allocations: 145.1 kB / 24.54 MB, free: 28 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 0.9895/0.9895, allocations: 173.3 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.743e-06/1.743e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.559e-05, allocations: 10.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006915/0.006941, allocations: 7.957 MB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003964/0.0109, allocations: 2.582 MB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006926/0.0116, allocations: 27.88 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.01277, allocations: 492.8 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008936/0.01367, allocations: 440.6 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.01408, allocations: 219.5 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.01525, allocations: 1.291 MB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000459/0.01571, allocations: 346.5 kB / 281.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.01651, allocations: 0.7288 MB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.01708, allocations: 414.8 kB / 282.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.0172, allocations: 116 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.01744, allocations: 151.9 kB / 282.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.01756, allocations: 243 kB / 283 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.01788, allocations: 399.1 kB / 283.3 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009064/0.01878, allocations: 0.8017 MB / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.01879, allocations: 0 / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01879, allocations: 0 / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.01881, allocations: 4 kB / 284.2 MB, free: 6.16 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.001612/0.02042, allocations: 1.367 MB / 285.5 MB, free: 4.754 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.02047, allocations: 12.03 kB / 285.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.02085, allocations: 216.2 kB / 285.7 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.02163, allocations: 0.587 MB / 286.3 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.02167, allocations: 62.38 kB / 286.4 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.02177, allocations: 84.38 kB / 286.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000969/0.02274, allocations: 0.7035 MB / 287.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.02276, allocations: 7.953 kB / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.02281, allocations: 36 kB / 287.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.02283, allocations: 20 kB / 287.2 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.0233, allocations: 303.6 kB / 287.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/0.1517, allocations: 3.262 MB / 290.8 MB, free: 27.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.1521, allocations: 160 kB / 291 MB, free: 27.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1522, allocations: 61.36 kB / 291 MB, free: 27.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1523, allocations: 4.938 kB / 291 MB, free: 27.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1523, allocations: 40.36 kB / 291.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/0.1523, allocations: 0 / 291.1 MB, free: 27.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00127/0.1535, allocations: 0.7303 MB / 291.8 MB, free: 26.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1536, allocations: 81.08 kB / 291.9 MB, free: 26.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.1542, allocations: 0.6994 MB / 292.6 MB, free: 26.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1542, allocations: 30.17 kB / 292.6 MB, free: 26.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.1545, allocations: 0.599 MB / 293.2 MB, free: 26.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.1545, allocations: 108.7 kB / 293.3 MB, free: 26.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1546, allocations: 132.6 kB / 293.4 MB, free: 26.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1547, allocations: 0.5545 MB / 294 MB, free: 25.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1548, allocations: 63.95 kB / 294 MB, free: 25.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1551, allocations: 0.5312 MB / 294.6 MB, free: 25.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1555, allocations: 0.6264 MB / 295.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1555, allocations: 3.469 kB / 295.2 MB, free: 24.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006689/0.1561, allocations: 0.5478 MB / 295.8 MB, free: 24.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1562, allocations: 9.25 kB / 295.8 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.1562, allocations: 11.3 kB / 295.8 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.1563, allocations: 33.89 kB / 295.8 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.1566, allocations: 149.2 kB / 296 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006386/0.1572, allocations: 1.749 MB / 297.7 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.1575, allocations: 36.95 kB / 297.7 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.1575, allocations: 39.58 kB / 297.8 MB, free: 22.77 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.0001416/0.1577, allocations: 203.8 kB / 298 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.1577, allocations: 76.52 kB / 298.1 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.158, allocations: 242.8 kB / 298.3 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.158, allocations: 3.688 kB / 298.3 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.158, allocations: 5.156 kB / 298.3 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1581, allocations: 1.734 kB / 298.3 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.159, allocations: 0.9335 MB / 299.2 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.159, allocations: 2.062 kB / 299.2 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1592, allocations: 64.48 kB / 299.3 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-05/0.1593, allocations: 20.69 kB / 299.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1593, allocations: 8.766 kB / 299.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.1597, allocations: 1.726 MB / 301.1 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1597, allocations: 6.828 kB / 301.1 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.1602, allocations: 0.5071 MB / 301.6 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1603, allocations: 91.47 kB / 301.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1603, allocations: 11.22 kB / 301.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1605, allocations: 15.66 kB / 301.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.1606, allocations: 27.7 kB / 301.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1606, allocations: 11.58 kB / 301.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004003/0.161, allocations: 436.4 kB / 302.1 MB, free: 19.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.161, allocations: 4 kB / 302.2 MB, free: 19.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005241/0.1615, allocations: 169.3 kB / 302.3 MB, free: 19.85 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.0001698/0.1617, allocations: 123.2 kB / 302.4 MB, free: 19.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.1622, allocations: 443.1 kB / 302.9 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1622, allocations: 1.25 kB / 302.9 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1623, allocations: 265.7 kB / 303.1 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1629, allocations: 176.7 kB / 303.3 MB, free: 19.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.1648, allocations: 1.387 MB / 304.7 MB, free: 18.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1649, allocations: 146.2 kB / 304.8 MB, free: 18.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.1651, allocations: 84.36 kB / 304.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.1652, allocations: 47.72 kB / 305 MB, free: 18.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1652, allocations: 0 / 305 MB, free: 18.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01134/0.1765, allocations: 8.297 MB / 313.3 MB, free: 15.02 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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","",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.2587037477642298]