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.001496/0.001496, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001591/0.001591, allocations: 169.3 kB / 24.27 MB, free: 140 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 1.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.713e-06/1.713e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.671e-05, allocations: 6.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01083/0.01085, allocations: 7.076 MB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.01585, allocations: 2.474 MB / 281.9 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.01649, allocations: 23.94 kB / 281.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.01803, allocations: 496.7 kB / 282.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.01932, allocations: 444.5 kB / 282.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.01983, allocations: 223.5 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.0214, allocations: 1.283 MB / 284.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.02204, allocations: 346.5 kB / 284.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.02311, allocations: 0.7365 MB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.02372, allocations: 382.8 kB / 285.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.02389, allocations: 116 kB / 285.9 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.02424, allocations: 159.9 kB / 286 MB, free: 4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.02449, allocations: 235.1 kB / 286.3 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.02499, allocations: 399 kB / 286.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.02681, allocations: 1.464 MB / 288.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02682, allocations: 0 / 288.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02682, allocations: 0 / 288.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.02683, allocations: 8 kB / 288.1 MB, free: 1.902 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.002442/0.02927, allocations: 1.24 MB / 289.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.02931, allocations: 8.031 kB / 289.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/0.03016, allocations: 244.2 kB / 289.6 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1096/0.1398, allocations: 0.5927 MB / 290.2 MB, free: 28.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.1398, allocations: 65.59 kB / 290.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.14, allocations: 88.55 kB / 290.4 MB, free: 28.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1413, allocations: 0.8679 MB / 291.2 MB, free: 28.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.1414, allocations: 7.422 kB / 291.2 MB, free: 28.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.481e-05/0.1414, allocations: 33.98 kB / 291.3 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1415, allocations: 20.97 kB / 291.3 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.1425, allocations: 0.5461 MB / 291.8 MB, free: 28.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.1459, allocations: 2.997 MB / 294.8 MB, free: 26.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.1464, allocations: 227.6 kB / 295.1 MB, free: 26.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.1467, allocations: 112.3 kB / 295.2 MB, free: 26.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1467, allocations: 5.156 kB / 295.2 MB, free: 26.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.1467, allocations: 33.38 kB / 295.2 MB, free: 26.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.1467, allocations: 1.094 kB / 295.2 MB, free: 26.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001881/0.1486, allocations: 0.943 MB / 296.2 MB, free: 25.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1486, allocations: 83.42 kB / 296.2 MB, free: 25.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.1494, allocations: 0.6867 MB / 296.9 MB, free: 25.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1494, allocations: 31.05 kB / 296.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.1497, allocations: 0.5362 MB / 297.5 MB, free: 24.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.1497, allocations: 118.1 kB / 297.6 MB, free: 24.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1499, allocations: 122.8 kB / 297.7 MB, free: 24.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.1499, allocations: 373.9 kB / 298.1 MB, free: 24.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.1502, allocations: 131 kB / 298.2 MB, free: 24.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.1506, allocations: 471.4 kB / 298.7 MB, free: 23.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006459/0.1513, allocations: 0.6175 MB / 299.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.1513, allocations: 5.594 kB / 299.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001064/0.1523, allocations: 0.6754 MB / 300 MB, free: 22.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.1524, allocations: 10.16 kB / 300 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1524, allocations: 11.17 kB / 300 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.1525, allocations: 35.7 kB / 300 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.153, allocations: 149.4 kB / 300.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006808/0.1537, allocations: 1.261 MB / 301.4 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.1541, allocations: 46.17 kB / 301.5 MB, free: 21.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.1542, allocations: 33.81 kB / 301.5 MB, free: 21.52 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.0002537/0.1544, allocations: 237.3 kB / 301.7 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1545, allocations: 82.39 kB / 301.8 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006434/0.1552, allocations: 330.2 kB / 302.1 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1552, allocations: 3.375 kB / 302.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1552, allocations: 7.219 kB / 302.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1552, allocations: 1.828 kB / 302.2 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.1566, allocations: 0.9236 MB / 303.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1566, allocations: 6.672 kB / 303.1 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1569, allocations: 68.16 kB / 303.2 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.127e-05/0.1569, allocations: 18.89 kB / 303.2 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.157, allocations: 9.531 kB / 303.2 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005783/0.1575, allocations: 1.256 MB / 304.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1575, allocations: 6.422 kB / 304.4 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.1584, allocations: 0.5632 MB / 305 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1586, allocations: 96.52 kB / 305.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.1586, allocations: 8.75 kB / 305.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.159, allocations: 24.44 kB / 305.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.1591, allocations: 28.81 kB / 305.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1591, allocations: 8.359 kB / 305.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005416/0.1596, allocations: 468.3 kB / 305.6 MB, free: 18.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1596, allocations: 0 / 305.6 MB, free: 18.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006842/0.1603, allocations: 164.5 kB / 305.8 MB, free: 18.64 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.0001776/0.1605, allocations: 124.8 kB / 305.9 MB, free: 18.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008166/0.1613, allocations: 478.1 kB / 306.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1613, allocations: 3.719 kB / 306.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.1616, allocations: 236.6 kB / 306.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.1625, allocations: 175.8 kB / 306.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1644, allocations: 1.413 MB / 308.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1646, allocations: 364.2 kB / 308.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.1649, allocations: 80.83 kB / 308.6 MB, free: 17.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.165, allocations: 47.47 kB / 308.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.165, allocations: 0 / 308.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01286/0.1779, allocations: 8.278 MB / 317 MB, free: 9.125 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.848260586964898]