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.0009259/0.0009259, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001013/0.001013, allocations: 161 kB / 24.99 MB, free: 8.801 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.9505/0.9505, allocations: 177 MB / 205.2 MB, free: 5.605 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.483e-06/1.483e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.157e-05, allocations: 6.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01501/0.01503, allocations: 7.946 MB / 280.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.01887, allocations: 2.598 MB / 283.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.01933, allocations: 23.94 kB / 283.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.02034, allocations: 0.489 MB / 284.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006212/0.02096, allocations: 448.5 kB / 284.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.02128, allocations: 227.5 kB / 284.7 MB, free: 5.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.02221, allocations: 1.282 MB / 286 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.02265, allocations: 346.5 kB / 286.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.02334, allocations: 0.7481 MB / 287.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.02374, allocations: 410.8 kB / 287.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.02385, allocations: 116 kB / 287.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.02406, allocations: 156 kB / 287.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.02417, allocations: 239.1 kB / 288 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.02444, allocations: 399 kB / 288.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.02515, allocations: 0.8133 MB / 289.2 MB, free: 1.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02515, allocations: 0 / 289.2 MB, free: 1.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.02515, allocations: 0 / 289.2 MB, free: 1.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.02517, allocations: 0 / 289.2 MB, free: 1.473 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.001322/0.02649, allocations: 1.352 MB / 290.5 MB, free: 84 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.02653, allocations: 15.98 kB / 290.6 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1011/0.1276, allocations: 236.7 kB / 290.8 MB, free: 29.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.1286, allocations: 0.5831 MB / 291.4 MB, free: 29.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.1286, allocations: 62.62 kB / 291.4 MB, free: 29.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.465e-05/0.1287, allocations: 87.22 kB / 291.5 MB, free: 29.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.1295, allocations: 0.6985 MB / 292.2 MB, free: 29.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1296, allocations: 6.297 kB / 292.2 MB, free: 29.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.1296, allocations: 36 kB / 292.3 MB, free: 29.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.1296, allocations: 28.84 kB / 292.3 MB, free: 29.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1301, allocations: 302.9 kB / 292.6 MB, free: 29.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.1327, allocations: 3.257 MB / 295.8 MB, free: 26.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.133, allocations: 163.5 kB / 296 MB, free: 26.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.1331, allocations: 61.48 kB / 296.1 MB, free: 26.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1331, allocations: 4.469 kB / 296.1 MB, free: 26.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1332, allocations: 42.55 kB / 296.1 MB, free: 26.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1332, allocations: 0 / 296.1 MB, free: 26.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001076/0.1342, allocations: 0.7373 MB / 296.8 MB, free: 26.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1343, allocations: 81.23 kB / 296.9 MB, free: 25.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.1349, allocations: 0.6972 MB / 297.6 MB, free: 25.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1349, allocations: 34.17 kB / 297.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.1352, allocations: 0.5936 MB / 298.2 MB, free: 25.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.1353, allocations: 111 kB / 298.4 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1354, allocations: 129.8 kB / 298.5 MB, free: 24.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1355, allocations: 0.5566 MB / 299 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1356, allocations: 65.3 kB / 299.1 MB, free: 24.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.1358, allocations: 0.5353 MB / 299.6 MB, free: 23.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.1362, allocations: 0.6255 MB / 300.3 MB, free: 23.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1362, allocations: 10.64 kB / 300.3 MB, free: 23.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006637/0.1368, allocations: 0.5436 MB / 300.8 MB, free: 22.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1369, allocations: 11.42 kB / 300.8 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1369, allocations: 14.47 kB / 300.8 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.137, allocations: 32.56 kB / 300.9 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.1373, allocations: 150.7 kB / 301 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/0.1378, allocations: 1.749 MB / 302.8 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1381, allocations: 37.44 kB / 302.8 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.1381, allocations: 31.88 kB / 302.8 MB, free: 21.09 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.0001328/0.1382, allocations: 208.9 kB / 303 MB, free: 20.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.1383, allocations: 77.41 kB / 303.1 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1386, allocations: 240.8 kB / 303.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1386, allocations: 7.984 kB / 303.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1386, allocations: 9 kB / 303.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.1386, allocations: 1.922 kB / 303.4 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.1395, allocations: 0.9191 MB / 304.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1395, allocations: 1.906 kB / 304.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1396, allocations: 60.72 kB / 304.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.335e-05/0.1397, allocations: 26.91 kB / 304.4 MB, free: 20.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1397, allocations: 7.312 kB / 304.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004079/0.1401, allocations: 1.73 MB / 306.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1401, allocations: 5.312 kB / 306.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.1405, allocations: 0.5029 MB / 306.6 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1406, allocations: 92.41 kB / 306.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.1407, allocations: 8.562 kB / 306.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1408, allocations: 17.31 kB / 306.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.1409, allocations: 28.67 kB / 306.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1409, allocations: 11.73 kB / 306.8 MB, free: 17.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003657/0.1413, allocations: 434.4 kB / 307.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1413, allocations: 1.375 kB / 307.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.1417, allocations: 168.6 kB / 307.4 MB, free: 17.66 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.0001513/0.1419, allocations: 117 kB / 307.5 MB, free: 17.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.1423, allocations: 442.4 kB / 307.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1423, allocations: 4.75 kB / 307.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1425, allocations: 263.1 kB / 308.2 MB, free: 17.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.143, allocations: 181.3 kB / 308.4 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1447, allocations: 1.393 MB / 309.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.1448, allocations: 154.2 kB / 309.9 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.145, allocations: 86.34 kB / 310 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.1451, allocations: 48.11 kB / 310 MB, free: 16.05 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1451, allocations: 0 / 310 MB, free: 16.05 MB / 266.7 MB Notification: Performance of Templates: time 0.009614/0.1547, allocations: 8.301 MB / 318.3 MB, free: 8.758 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.1029632138088346]