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.001465/0.001465, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001078/0.001078, allocations: 163.5 kB / 25.61 MB, free: 8.895 MB / 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 0.8997/0.8997, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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.743e-06/1.743e-06, allocations: 0 / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.948e-06/1.169e-05, allocations: 3.469 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.005941/0.005953, allocations: 7.784 MB / 282 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.008512, allocations: 2.592 MB / 284.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.008802, allocations: 23.94 kB / 284.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000773/0.009575, allocations: 496.8 kB / 285.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.01005, allocations: 448.5 kB / 285.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.01029, allocations: 219.5 kB / 285.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007715/0.01106, allocations: 1.286 MB / 287 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.01143, allocations: 346.5 kB / 287.4 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.01198, allocations: 0.752 MB / 288.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.01234, allocations: 406.8 kB / 288.5 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.01245, allocations: 112 kB / 288.6 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.01262, allocations: 156 kB / 288.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.01274, allocations: 243 kB / 289 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.01299, allocations: 399 kB / 289.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.01362, allocations: 0.7978 MB / 290.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01363, allocations: 0 / 290.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01363, allocations: 0 / 290.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.01363, allocations: 3.938 kB / 290.2 MB, free: 4.309 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.001197/0.01483, allocations: 1.363 MB / 291.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.01486, allocations: 8.031 kB / 291.6 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.01524, allocations: 240.2 kB / 291.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.01576, allocations: 0.5538 MB / 292.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.0158, allocations: 70.36 kB / 292.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.01587, allocations: 88.33 kB / 292.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.01644, allocations: 0.6565 MB / 293.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.01646, allocations: 4 kB / 293.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.01651, allocations: 32 kB / 293.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01652, allocations: 20 kB / 293.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.01678, allocations: 237.7 kB / 293.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.01911, allocations: 3.303 MB / 296.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.01933, allocations: 151.2 kB / 296.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.01939, allocations: 51.66 kB / 297 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.0194, allocations: 7.984 kB / 297 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01942, allocations: 49.27 kB / 297 MB, free: 13.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.01942, allocations: 0 / 297 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007412/0.02017, allocations: 0.5786 MB / 297.6 MB, free: 12.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.0202, allocations: 89.09 kB / 297.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.02065, allocations: 0.6707 MB / 298.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.02067, allocations: 29.7 kB / 298.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.02092, allocations: 0.6071 MB / 299 MB, free: 11.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.02098, allocations: 111.1 kB / 299.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.02108, allocations: 139.8 kB / 299.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.02126, allocations: 0.5585 MB / 299.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.02132, allocations: 49.27 kB / 299.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.02158, allocations: 0.526 MB / 300.4 MB, free: 9.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.02193, allocations: 0.6057 MB / 301 MB, free: 8.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.02193, allocations: 4 kB / 301 MB, free: 8.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004777/0.02241, allocations: 0.5089 MB / 301.5 MB, free: 8.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.02242, allocations: 8 kB / 301.5 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.02243, allocations: 12 kB / 301.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-05/0.02252, allocations: 35.61 kB / 301.5 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.02277, allocations: 151.8 kB / 301.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007325/0.0235, allocations: 1.729 MB / 303.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.02371, allocations: 39.94 kB / 303.5 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.02373, allocations: 24 kB / 303.5 MB, free: 6.035 MB / 282.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.0001378/0.02387, allocations: 208.4 kB / 303.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.02393, allocations: 79.61 kB / 303.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.02417, allocations: 232.1 kB / 304 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.02417, allocations: 4 kB / 304 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.02417, allocations: 0 / 304 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.02417, allocations: 0 / 304 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.02486, allocations: 0.7975 MB / 304.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02486, allocations: 4.219 kB / 304.8 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.025, allocations: 63.91 kB / 304.9 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-05/0.02505, allocations: 23.67 kB / 304.9 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.02506, allocations: 8 kB / 304.9 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005746/0.02564, allocations: 1.709 MB / 306.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.02564, allocations: 4.031 kB / 306.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.02596, allocations: 485.2 kB / 307.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.02607, allocations: 95.45 kB / 307.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.02611, allocations: 11.98 kB / 307.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.02626, allocations: 15.94 kB / 307.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.0263, allocations: 27.95 kB / 307.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.02631, allocations: 4 kB / 307.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002332/0.02655, allocations: 410.8 kB / 307.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02655, allocations: 0 / 307.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.02692, allocations: 167.9 kB / 307.8 MB, free: 1.461 MB / 282.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.0001213/0.02705, allocations: 123.2 kB / 307.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.0274, allocations: 424.7 kB / 308.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0274, allocations: 0 / 308.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.02754, allocations: 258.4 kB / 308.6 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.02803, allocations: 182.1 kB / 308.8 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.02969, allocations: 1.378 MB / 310.1 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.02977, allocations: 149.8 kB / 310.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.02995, allocations: 89.55 kB / 310.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.0302, allocations: 234.1 kB / 310.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.001e-06/0.0302, allocations: 0 / 310.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01165/0.04185, allocations: 9.152 MB / 319.7 MB, free: 5.555 MB / 298.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.919996749609709]