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.002381/0.002381, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.002619/0.002619, allocations: 145.1 kB / 24.26 MB, free: 168 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.52/1.52, allocations: 173.3 MB / 200.8 MB, free: 9.289 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 2.064e-06/2.064e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.499e-05, allocations: 6.25 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01602/0.01605, allocations: 7.899 MB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007174/0.02323, allocations: 2.571 MB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.02444, allocations: 19.94 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.02642, allocations: 492.8 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.02791, allocations: 452.4 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.02855, allocations: 223.5 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.0305, allocations: 1.282 MB / 280.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007496/0.03125, allocations: 350.5 kB / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.0327, allocations: 0.7288 MB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.0336, allocations: 414.8 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.03388, allocations: 116 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.0344, allocations: 151.9 kB / 282 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.03469, allocations: 239 kB / 282.2 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006808/0.03538, allocations: 403 kB / 282.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.03742, allocations: 1.468 MB / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.03743, allocations: 0 / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03743, allocations: 4 kB / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.03745, allocations: 0 / 284.1 MB, free: 5.855 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.002775/0.04023, allocations: 1.438 MB / 285.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.04027, allocations: 8.031 kB / 285.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.04087, allocations: 220.2 kB / 285.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.04207, allocations: 0.6097 MB / 286.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.04214, allocations: 62.38 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.04229, allocations: 88.31 kB / 286.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.04399, allocations: 0.9223 MB / 287.4 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.04404, allocations: 11.89 kB / 287.4 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.04411, allocations: 36 kB / 287.5 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.04414, allocations: 23.98 kB / 287.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.04526, allocations: 0.5075 MB / 288 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1345/0.1798, allocations: 3.923 MB / 291.9 MB, free: 30.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.1803, allocations: 227 kB / 292.1 MB, free: 30.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1805, allocations: 107.7 kB / 292.2 MB, free: 30.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.1805, allocations: 6.219 kB / 292.2 MB, free: 30.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1806, allocations: 37.3 kB / 292.3 MB, free: 30.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.1806, allocations: 0 / 292.3 MB, free: 30.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001944/0.1825, allocations: 0.9199 MB / 293.2 MB, free: 29.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.1825, allocations: 82.03 kB / 293.3 MB, free: 29.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.1835, allocations: 0.8906 MB / 294.2 MB, free: 29.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1835, allocations: 31.2 kB / 294.2 MB, free: 29.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.1838, allocations: 0.6266 MB / 294.8 MB, free: 29.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.1839, allocations: 118.4 kB / 294.9 MB, free: 28.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.1841, allocations: 150.2 kB / 295.1 MB, free: 28.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1842, allocations: 0.5955 MB / 295.7 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.1845, allocations: 123.7 kB / 295.8 MB, free: 28.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.1849, allocations: 0.6147 MB / 296.4 MB, free: 27.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.1856, allocations: 0.7454 MB / 297.2 MB, free: 26.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.1856, allocations: 3.375 kB / 297.2 MB, free: 26.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009788/0.1866, allocations: 0.6723 MB / 297.8 MB, free: 26.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1866, allocations: 9.719 kB / 297.9 MB, free: 26.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.1866, allocations: 11.12 kB / 297.9 MB, free: 26.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.1868, allocations: 37.48 kB / 297.9 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.1872, allocations: 148.4 kB / 298 MB, free: 26.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007528/0.188, allocations: 1.784 MB / 299.8 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.1884, allocations: 41.34 kB / 299.9 MB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.1884, allocations: 32.69 kB / 299.9 MB, free: 24.78 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.0002529/0.1887, allocations: 293.3 kB / 300.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1888, allocations: 78.11 kB / 300.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.1894, allocations: 314.4 kB / 300.6 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1894, allocations: 5.141 kB / 300.6 MB, free: 24.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1894, allocations: 4.688 kB / 300.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1894, allocations: 2.266 kB / 300.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.191, allocations: 1.183 MB / 301.8 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.191, allocations: 2.094 kB / 301.8 MB, free: 23.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1912, allocations: 61.02 kB / 301.8 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.573e-05/0.1913, allocations: 26.61 kB / 301.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1913, allocations: 12.11 kB / 301.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000714/0.1921, allocations: 1.774 MB / 303.6 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1921, allocations: 6.188 kB / 303.6 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.1929, allocations: 0.6273 MB / 304.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.1931, allocations: 97.09 kB / 304.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.1932, allocations: 12.08 kB / 304.4 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.1935, allocations: 20.03 kB / 304.4 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.1935, allocations: 25.73 kB / 304.4 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1936, allocations: 8.719 kB / 304.4 MB, free: 21.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006372/0.1942, allocations: 0.5416 MB / 305 MB, free: 21.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1942, allocations: 0 / 305 MB, free: 21.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007146/0.1949, allocations: 164.2 kB / 305.1 MB, free: 21.02 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.0001873/0.1951, allocations: 123.3 kB / 305.3 MB, free: 20.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.196, allocations: 0.5518 MB / 305.8 MB, free: 20.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.196, allocations: 0 / 305.8 MB, free: 20.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1963, allocations: 303.3 kB / 306.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008731/0.1971, allocations: 176.5 kB / 306.3 MB, free: 20.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.1992, allocations: 1.444 MB / 307.7 MB, free: 19.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1996, allocations: 364.7 kB / 308.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.1999, allocations: 84.22 kB / 308.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2, allocations: 46.94 kB / 308.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2, allocations: 0 / 308.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of Templates: time 0.01394/0.2139, allocations: 8.291 MB / 316.5 MB, free: 13.26 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","/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: 5.037910041981377]