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.002245/0.002245, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002578/0.002578, allocations: 165.3 kB / 24.27 MB, free: 152 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.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.493e-06/1.493e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.913e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01119/0.01122, allocations: 7.903 MB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.01639, allocations: 2.594 MB / 282.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008452/0.01723, allocations: 23.94 kB / 282.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.01879, allocations: 0.489 MB / 283.3 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.02003, allocations: 440.6 kB / 283.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.02058, allocations: 223.5 kB / 284 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.02225, allocations: 1.29 MB / 285.3 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006423/0.02289, allocations: 346.5 kB / 285.6 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.02394, allocations: 0.7365 MB / 286.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.02459, allocations: 414.8 kB / 286.8 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.02475, allocations: 116 kB / 286.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.02509, allocations: 163.9 kB / 287 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.02532, allocations: 239.1 kB / 287.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.02582, allocations: 395.1 kB / 287.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.02766, allocations: 1.48 MB / 289.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02767, allocations: 4 kB / 289.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02767, allocations: 0 / 289.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.02769, allocations: 0 / 289.1 MB, free: 0.918 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.1164/0.1441, allocations: 1.423 MB / 290.6 MB, free: 29.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1441, allocations: 9.969 kB / 290.6 MB, free: 29.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007814/0.1449, allocations: 239.3 kB / 290.8 MB, free: 29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.1459, allocations: 0.602 MB / 291.4 MB, free: 28.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.1459, allocations: 65.12 kB / 291.5 MB, free: 28.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.146, allocations: 84.98 kB / 291.6 MB, free: 28.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.1474, allocations: 0.926 MB / 292.5 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.1474, allocations: 6.859 kB / 292.5 MB, free: 28.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.1475, allocations: 37.06 kB / 292.5 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1475, allocations: 20.72 kB / 292.5 MB, free: 28.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.1485, allocations: 0.5164 MB / 293.1 MB, free: 27.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.153, allocations: 3.917 MB / 297 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.1535, allocations: 237.8 kB / 297.2 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1537, allocations: 106.9 kB / 297.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.1537, allocations: 5.469 kB / 297.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1537, allocations: 35.77 kB / 297.4 MB, free: 25.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/0.1537, allocations: 0 / 297.4 MB, free: 25.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001992/0.1557, allocations: 0.9207 MB / 298.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1558, allocations: 80.86 kB / 298.4 MB, free: 24.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.1567, allocations: 0.8882 MB / 299.2 MB, free: 23.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1567, allocations: 31.89 kB / 299.3 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.157, allocations: 0.6298 MB / 299.9 MB, free: 23.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.1571, allocations: 121.2 kB / 300 MB, free: 23.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1573, allocations: 150.7 kB / 300.2 MB, free: 23.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1574, allocations: 0.5947 MB / 300.8 MB, free: 22.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1577, allocations: 127.8 kB / 300.9 MB, free: 22.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.158, allocations: 0.6104 MB / 301.5 MB, free: 21.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.1587, allocations: 0.7618 MB / 302.3 MB, free: 21.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1587, allocations: 3.625 kB / 302.3 MB, free: 21.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001135/0.1598, allocations: 0.6566 MB / 302.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.1599, allocations: 10.12 kB / 302.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.1599, allocations: 11.17 kB / 302.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.1601, allocations: 40.97 kB / 303 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.1605, allocations: 145.7 kB / 303.1 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.1614, allocations: 1.793 MB / 304.9 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.1618, allocations: 36.53 kB / 304.9 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.1618, allocations: 33.7 kB / 305 MB, free: 19.12 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.0002746/0.1621, allocations: 290 kB / 305.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1622, allocations: 81.39 kB / 305.3 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005454/0.1628, allocations: 321.9 kB / 305.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1628, allocations: 2.75 kB / 305.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1628, allocations: 5.375 kB / 305.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1628, allocations: 1.594 kB / 305.7 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.1644, allocations: 1.175 MB / 306.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1644, allocations: 2.531 kB / 306.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.1647, allocations: 61.12 kB / 306.9 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.1647, allocations: 33.38 kB / 306.9 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1648, allocations: 9.094 kB / 306.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000657/0.1654, allocations: 1.769 MB / 308.7 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1654, allocations: 2.562 kB / 308.7 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007298/0.1662, allocations: 0.633 MB / 309.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.1663, allocations: 100.4 kB / 309.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.1664, allocations: 8.625 kB / 309.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1667, allocations: 18.03 kB / 309.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.1667, allocations: 27.41 kB / 309.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1668, allocations: 12.83 kB / 309.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005253/0.1673, allocations: 0.5431 MB / 310.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1673, allocations: 0 / 310.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005968/0.1679, allocations: 177.5 kB / 310.2 MB, free: 15.3 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.0001721/0.1681, allocations: 118.8 kB / 310.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.1688, allocations: 0.5475 MB / 310.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1688, allocations: 0 / 310.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.169, allocations: 309.6 kB / 311.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007893/0.1698, allocations: 178.4 kB / 311.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1714, allocations: 1.438 MB / 312.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1717, allocations: 364.6 kB / 313.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.1719, allocations: 80.39 kB / 313.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.172, allocations: 48.48 kB / 313.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.172, allocations: 0 / 313.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Templates: time 0.01248/0.1845, allocations: 8.289 MB / 321.6 MB, free: 4.246 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","/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.973592874011956]