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.001126/0.001126, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001289/0.001289, allocations: 169.2 kB / 24.82 MB, free: 9.273 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 1.047/1.047, allocations: 177 MB / 205.1 MB, free: 5.48 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.533e-06/1.533e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.882e-05, allocations: 2.312 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007838/0.007857, allocations: 7.793 MB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.01219, allocations: 2.583 MB / 283.7 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.01281, allocations: 27.88 kB / 283.7 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.01387, allocations: 496.8 kB / 284.2 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007557/0.01463, allocations: 448.5 kB / 284.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.01499, allocations: 223.5 kB / 284.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01608, allocations: 1.283 MB / 286.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.01652, allocations: 346.5 kB / 286.5 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.01736, allocations: 0.7482 MB / 287.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.01781, allocations: 406.9 kB / 287.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.01793, allocations: 112 kB / 287.8 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.01815, allocations: 156 kB / 287.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.01854, allocations: 239 kB / 288.1 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.01885, allocations: 399 kB / 288.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.01961, allocations: 0.8094 MB / 289.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01961, allocations: 0 / 289.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01961, allocations: 0 / 289.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.01963, allocations: 0 / 289.3 MB, free: 1.117 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.1216/0.1412, allocations: 1.349 MB / 290.7 MB, free: 24.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1413, allocations: 13.05 kB / 290.7 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/0.1418, allocations: 242.7 kB / 290.9 MB, free: 24.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.1425, allocations: 0.5542 MB / 291.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.1426, allocations: 63.78 kB / 291.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1427, allocations: 88.38 kB / 291.6 MB, free: 24.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.1435, allocations: 0.6523 MB / 292.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1435, allocations: 2.703 kB / 292.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.1436, allocations: 37.72 kB / 292.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.1436, allocations: 24.78 kB / 292.4 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.144, allocations: 235.4 kB / 292.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1469, allocations: 3.303 MB / 295.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1472, allocations: 151.5 kB / 296 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.047e-05/0.1473, allocations: 51.28 kB / 296.1 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1473, allocations: 4.844 kB / 296.1 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1473, allocations: 42.42 kB / 296.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1474, allocations: 0 / 296.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009439/0.1483, allocations: 0.5885 MB / 296.7 MB, free: 22.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.1483, allocations: 81.39 kB / 296.8 MB, free: 21.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.1489, allocations: 0.683 MB / 297.5 MB, free: 21.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1489, allocations: 30.17 kB / 297.5 MB, free: 21.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.1492, allocations: 0.5924 MB / 298.1 MB, free: 21.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.1493, allocations: 123.6 kB / 298.2 MB, free: 21.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1494, allocations: 131.9 kB / 298.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1495, allocations: 0.5656 MB / 298.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.1496, allocations: 48.77 kB / 299 MB, free: 20.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1498, allocations: 0.5234 MB / 299.5 MB, free: 20.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.1501, allocations: 0.6139 MB / 300.1 MB, free: 19.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1501, allocations: 2.781 kB / 300.1 MB, free: 19.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005967/0.1507, allocations: 0.5127 MB / 300.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1508, allocations: 10 kB / 300.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1508, allocations: 10.88 kB / 300.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.1509, allocations: 36.5 kB / 300.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1512, allocations: 145.4 kB / 300.8 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006519/0.1518, allocations: 1.724 MB / 302.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1521, allocations: 37.89 kB / 302.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1521, allocations: 28.73 kB / 302.6 MB, free: 17.64 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.0001478/0.1523, allocations: 205.4 kB / 302.8 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.1524, allocations: 86.22 kB / 302.9 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.1526, allocations: 228.4 kB / 303.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1526, allocations: 4.297 kB / 303.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1526, allocations: 0.9688 kB / 303.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1526, allocations: 2.141 kB / 303.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.1535, allocations: 0.7958 MB / 303.9 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.1535, allocations: 6.125 kB / 303.9 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1536, allocations: 57.7 kB / 304 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.388e-05/0.1537, allocations: 20.77 kB / 304 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1537, allocations: 12.09 kB / 304 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004165/0.1541, allocations: 1.714 MB / 305.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1541, allocations: 2.969 kB / 305.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.1545, allocations: 484.8 kB / 306.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1546, allocations: 96.95 kB / 306.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.1546, allocations: 7.688 kB / 306.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1548, allocations: 16.11 kB / 306.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.1548, allocations: 37.58 kB / 306.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1549, allocations: 6.125 kB / 306.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003407/0.1552, allocations: 401.9 kB / 306.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1552, allocations: 0 / 306.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005164/0.1557, allocations: 172.3 kB / 306.9 MB, free: 14.43 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.0001661/0.1559, allocations: 125.2 kB / 307 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.1563, allocations: 422.4 kB / 307.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1563, allocations: 256 / 307.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.1564, allocations: 254.5 kB / 307.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.157, allocations: 178.3 kB / 307.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1588, allocations: 1.398 MB / 309.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.721e-05/0.1589, allocations: 148.7 kB / 309.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.1591, allocations: 85.66 kB / 309.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.1594, allocations: 241 kB / 309.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1594, allocations: 0 / 309.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01118/0.1705, allocations: 8.977 MB / 318.7 MB, free: 6.141 MB / 266.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.041442289017141]