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.0009935/0.0009935, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001803/0.001803, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.006/1.006, allocations: 177 MB / 204.8 MB, free: 5.199 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 2.354e-06/2.354e-06, allocations: 0 / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.758e-05/3.994e-05, allocations: 5.266 kB / 272.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009784/0.009824, allocations: 7.973 MB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.01488, allocations: 2.61 MB / 283.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009733/0.01585, allocations: 27.94 kB / 283.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.01744, allocations: 488.8 kB / 284 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.01879, allocations: 452.4 kB / 284.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.01937, allocations: 219.6 kB / 284.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.02103, allocations: 1.291 MB / 286 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.02174, allocations: 342.5 kB / 286.3 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.02303, allocations: 0.7443 MB / 287 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.0235, allocations: 406.8 kB / 287.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.02361, allocations: 116 kB / 287.6 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.02385, allocations: 156 kB / 287.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.02398, allocations: 247 kB / 287.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.02426, allocations: 399 kB / 288.3 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00085/0.02511, allocations: 0.8056 MB / 289.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.02512, allocations: 3.938 kB / 289.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02512, allocations: 4 kB / 289.1 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.02513, allocations: 0 / 289.1 MB, free: 0.9297 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.1217/0.1468, allocations: 1.351 MB / 290.5 MB, free: 24.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1469, allocations: 13.14 kB / 290.5 MB, free: 24.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/0.1475, allocations: 241.3 kB / 290.7 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.1484, allocations: 0.5811 MB / 291.3 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.1484, allocations: 65.41 kB / 291.4 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.1485, allocations: 85.39 kB / 291.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.1495, allocations: 0.6985 MB / 292.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.1495, allocations: 6.844 kB / 292.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1495, allocations: 33.91 kB / 292.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.1496, allocations: 25.16 kB / 292.2 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.1501, allocations: 307 kB / 292.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.1531, allocations: 3.261 MB / 295.8 MB, free: 22.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.1535, allocations: 158.5 kB / 296 MB, free: 22.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1536, allocations: 66.92 kB / 296 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1536, allocations: 4.062 kB / 296 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1536, allocations: 40.58 kB / 296.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 3.386e-06/0.1536, allocations: 2 kB / 296.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001334/0.155, allocations: 0.7374 MB / 296.8 MB, free: 21.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.155, allocations: 81.5 kB / 296.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.1557, allocations: 0.6943 MB / 297.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1558, allocations: 31.73 kB / 297.6 MB, free: 21.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.156, allocations: 0.5949 MB / 298.2 MB, free: 21.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.1561, allocations: 116.2 kB / 298.3 MB, free: 20.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1562, allocations: 129.9 kB / 298.4 MB, free: 20.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1564, allocations: 0.5559 MB / 299 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1565, allocations: 60.19 kB / 299.1 MB, free: 20.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1568, allocations: 0.5355 MB / 299.6 MB, free: 19.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.1572, allocations: 0.6358 MB / 300.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.1572, allocations: 2.438 kB / 300.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007576/0.158, allocations: 0.5541 MB / 300.8 MB, free: 18.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.158, allocations: 9.719 kB / 300.8 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.158, allocations: 11.28 kB / 300.8 MB, free: 18.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.1582, allocations: 32.8 kB / 300.8 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.1585, allocations: 149.6 kB / 301 MB, free: 18.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.1592, allocations: 1.743 MB / 302.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.1595, allocations: 36.92 kB / 302.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1595, allocations: 32.09 kB / 302.8 MB, free: 17.07 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.0001503/0.1597, allocations: 202.7 kB / 303 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1597, allocations: 83.8 kB / 303.1 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.1601, allocations: 248.7 kB / 303.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1601, allocations: 4.984 kB / 303.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1601, allocations: 0.875 kB / 303.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1601, allocations: 1.406 kB / 303.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1611, allocations: 0.9281 MB / 304.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1611, allocations: 2.25 kB / 304.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1613, allocations: 56.88 kB / 304.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.674e-05/0.1614, allocations: 25.69 kB / 304.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.1614, allocations: 12.02 kB / 304.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005157/0.1619, allocations: 1.733 MB / 306.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1619, allocations: 4.5 kB / 306.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.1624, allocations: 0.4937 MB / 306.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1625, allocations: 97.33 kB / 306.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.1626, allocations: 8.812 kB / 306.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1627, allocations: 17.14 kB / 306.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.1628, allocations: 35.91 kB / 306.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1628, allocations: 8.953 kB / 306.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004347/0.1632, allocations: 434 kB / 307.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1632, allocations: 0 / 307.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005738/0.1638, allocations: 170.8 kB / 307.3 MB, free: 13.63 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.0001916/0.164, allocations: 123.1 kB / 307.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.1647, allocations: 442.6 kB / 307.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1647, allocations: 5.688 kB / 307.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.1649, allocations: 256.7 kB / 308.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.1655, allocations: 185.9 kB / 308.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1676, allocations: 1.382 MB / 309.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.1677, allocations: 148.1 kB / 309.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.168, allocations: 90.94 kB / 309.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.1681, allocations: 51.16 kB / 310 MB, free: 12.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1681, allocations: 0 / 310 MB, free: 12.05 MB / 266.7 MB Notification: Performance of Templates: time 0.01226/0.1803, allocations: 8.295 MB / 318.3 MB, free: 5.848 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.3282024008221924]