Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009758/0.0009758, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9558/0.9558, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 274.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.806e-05, allocations: 5.109 kB / 274.1 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008047/0.008065, allocations: 7.78 MB / 281.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.01101, allocations: 2.597 MB / 284.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.01133, allocations: 23.94 kB / 284.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.01226, allocations: 492.8 kB / 285 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.01279, allocations: 448.5 kB / 285.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.01305, allocations: 227.5 kB / 285.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.01384, allocations: 1.283 MB / 286.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.01428, allocations: 346.5 kB / 287.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005636/0.01485, allocations: 0.7521 MB / 288 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.01519, allocations: 406.8 kB / 288.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.01528, allocations: 112 kB / 288.5 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.01544, allocations: 156 kB / 288.7 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.01555, allocations: 235.1 kB / 288.9 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.01578, allocations: 403 kB / 289.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.01639, allocations: 0.8016 MB / 290.1 MB, free: 4.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01639, allocations: 0 / 290.1 MB, free: 4.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01639, allocations: 0 / 290.1 MB, free: 4.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.0164, allocations: 0 / 290.1 MB, free: 4.285 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.001152/0.01755, allocations: 1.363 MB / 291.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.01758, allocations: 8.031 kB / 291.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003818/0.01796, allocations: 244.2 kB / 291.7 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.01849, allocations: 0.5538 MB / 292.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.01852, allocations: 62.38 kB / 292.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.0186, allocations: 88.33 kB / 292.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.01917, allocations: 0.6565 MB / 293.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.01919, allocations: 0 / 293.1 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.01923, allocations: 36 kB / 293.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.01924, allocations: 20 kB / 293.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.01951, allocations: 245.6 kB / 293.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.02179, allocations: 3.298 MB / 296.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.02199, allocations: 153.5 kB / 296.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.02205, allocations: 51.66 kB / 296.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.02206, allocations: 7.938 kB / 296.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.02209, allocations: 45.38 kB / 296.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.02209, allocations: 0 / 296.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006942/0.02278, allocations: 0.581 MB / 297.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.02281, allocations: 81.11 kB / 297.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.02324, allocations: 0.6746 MB / 298.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.02325, allocations: 33.7 kB / 298.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.02349, allocations: 0.5992 MB / 298.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.02355, allocations: 111.1 kB / 299 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.02365, allocations: 139.8 kB / 299.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.02379, allocations: 0.5663 MB / 299.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.02385, allocations: 45.27 kB / 299.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.02412, allocations: 0.5261 MB / 300.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.02447, allocations: 0.6176 MB / 300.9 MB, free: 8.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02448, allocations: 4 kB / 300.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004528/0.02493, allocations: 0.5011 MB / 301.4 MB, free: 8.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.02494, allocations: 14.66 kB / 301.4 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.02495, allocations: 8 kB / 301.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.608e-05/0.02504, allocations: 35.67 kB / 301.5 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.02527, allocations: 147.8 kB / 301.6 MB, free: 7.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006105/0.02588, allocations: 1.732 MB / 303.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.02611, allocations: 39.94 kB / 303.4 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.02613, allocations: 28 kB / 303.4 MB, free: 6.016 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.0001348/0.02626, allocations: 200.3 kB / 303.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.02633, allocations: 75.58 kB / 303.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.02656, allocations: 244 kB / 303.9 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.02656, allocations: 4 kB / 303.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02656, allocations: 0 / 303.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.02657, allocations: 0 / 303.9 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.02725, allocations: 0.7984 MB / 304.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02725, allocations: 3.984 kB / 304.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.02738, allocations: 56.12 kB / 304.8 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-05/0.02744, allocations: 27.69 kB / 304.8 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.02745, allocations: 11.98 kB / 304.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005697/0.02802, allocations: 1.701 MB / 306.5 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02802, allocations: 4 kB / 306.5 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.02835, allocations: 493.3 kB / 307 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.02846, allocations: 91.52 kB / 307.1 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.0285, allocations: 8 kB / 307.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.02865, allocations: 19.98 kB / 307.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.02869, allocations: 27.91 kB / 307.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.0287, allocations: 15.92 kB / 307.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.02894, allocations: 402.8 kB / 307.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02894, allocations: 0 / 307.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.02931, allocations: 175.9 kB / 307.7 MB, free: 1.434 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.0001185/0.02942, allocations: 115.2 kB / 307.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.02981, allocations: 424.3 kB / 308.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02981, allocations: 0 / 308.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.02998, allocations: 250.1 kB / 308.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.03048, allocations: 182.5 kB / 308.7 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.032, allocations: 1.387 MB / 310.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.0321, allocations: 153.7 kB / 310.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.03227, allocations: 81.56 kB / 310.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.03255, allocations: 238.1 kB / 310.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03255, allocations: 4 kB / 310.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Templates: time 0.01192/0.04447, allocations: 9.138 MB / 319.7 MB, free: 5.535 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.0734164197929204]