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.001343/0.001343, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001555/0.001555, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9143/0.9143, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.192e-05, allocations: 2.312 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009414/0.009436, allocations: 7.792 MB / 281.2 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005381/0.01482, allocations: 2.683 MB / 283.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.01554, allocations: 23.94 kB / 283.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.01697, allocations: 496.8 kB / 284.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.0181, allocations: 456.4 kB / 284.9 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.01865, allocations: 215.7 kB / 285.1 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.02009, allocations: 1.283 MB / 286.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.02056, allocations: 366.4 kB / 286.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.02135, allocations: 0.7444 MB / 287.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.02179, allocations: 414.8 kB / 287.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.0219, allocations: 112 kB / 288 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.02211, allocations: 152 kB / 288.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.02223, allocations: 243 kB / 288.4 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.02251, allocations: 399 kB / 288.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007319/0.02325, allocations: 0.8016 MB / 289.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.02325, allocations: 0 / 289.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.02325, allocations: 0 / 289.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.02326, allocations: 4 kB / 289.6 MB, free: 1.07 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.1099/0.1331, allocations: 1.201 MB / 290.8 MB, free: 24.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1332, allocations: 9.531 kB / 290.8 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.1336, allocations: 208.5 kB / 291 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.1343, allocations: 462.8 kB / 291.4 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.1343, allocations: 67.38 kB / 291.5 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.1344, allocations: 86.16 kB / 291.6 MB, free: 24.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.135, allocations: 0.6452 MB / 292.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.135, allocations: 5.953 kB / 292.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.135, allocations: 33.19 kB / 292.3 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.135, allocations: 24.62 kB / 292.3 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.1353, allocations: 211.7 kB / 292.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.1374, allocations: 2.61 MB / 295.1 MB, free: 23.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1376, allocations: 133 kB / 295.2 MB, free: 23.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.1377, allocations: 45.72 kB / 295.3 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1377, allocations: 5.25 kB / 295.3 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.1377, allocations: 36.88 kB / 295.3 MB, free: 22.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.404e-06/0.1377, allocations: 1.828 kB / 295.3 MB, free: 22.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007854/0.1385, allocations: 0.5573 MB / 295.9 MB, free: 22.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.1385, allocations: 82.42 kB / 296 MB, free: 22.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.1389, allocations: 0.6074 MB / 296.6 MB, free: 22.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.139, allocations: 31.36 kB / 296.6 MB, free: 22.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1391, allocations: 479.5 kB / 297.1 MB, free: 22.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.1392, allocations: 112.7 kB / 297.2 MB, free: 22.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.1392, allocations: 127.5 kB / 297.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.1393, allocations: 381.4 kB / 297.7 MB, free: 21.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.1394, allocations: 50.45 kB / 297.7 MB, free: 21.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1395, allocations: 402.4 kB / 298.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1398, allocations: 496.7 kB / 298.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1398, allocations: 3.219 kB / 298.6 MB, free: 20.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004216/0.1402, allocations: 419.7 kB / 299 MB, free: 20.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1402, allocations: 12.06 kB / 299 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1402, allocations: 11.03 kB / 299 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.454e-05/0.1403, allocations: 40.91 kB / 299.1 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1406, allocations: 147.4 kB / 299.2 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003876/0.141, allocations: 1.168 MB / 300.4 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1412, allocations: 44.33 kB / 300.4 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1412, allocations: 27.77 kB / 300.5 MB, free: 19.76 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.0001134/0.1413, allocations: 157.3 kB / 300.6 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.1414, allocations: 48.88 kB / 300.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.1416, allocations: 199.2 kB / 300.9 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1416, allocations: 7.531 kB / 300.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1416, allocations: 0 / 300.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1416, allocations: 7.312 kB / 300.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000835/0.1424, allocations: 0.5945 MB / 301.5 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1424, allocations: 6.203 kB / 301.5 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1426, allocations: 57.55 kB / 301.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.494e-05/0.1427, allocations: 21.58 kB / 301.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1427, allocations: 15.98 kB / 301.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004/0.1431, allocations: 1.161 MB / 302.7 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1431, allocations: 2.219 kB / 302.7 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.1435, allocations: 353.2 kB / 303.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1436, allocations: 72.5 kB / 303.1 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.1437, allocations: 12.33 kB / 303.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.1439, allocations: 14.45 kB / 303.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.1439, allocations: 32.91 kB / 303.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1439, allocations: 6.5 kB / 303.2 MB, free: 17.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.1442, allocations: 282.3 kB / 303.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1442, allocations: 0 / 303.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.1446, allocations: 172.8 kB / 303.7 MB, free: 17.83 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.0001289/0.1447, allocations: 102.2 kB / 303.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.145, allocations: 358.7 kB / 304.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/0.1451, allocations: 9.312 kB / 304.1 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1452, allocations: 200.6 kB / 304.3 MB, free: 17.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.1456, allocations: 178.6 kB / 304.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1471, allocations: 1.333 MB / 305.8 MB, free: 16.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.2e-05/0.1472, allocations: 147.6 kB / 306 MB, free: 16.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.1474, allocations: 87.86 kB / 306 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.1476, allocations: 200.8 kB / 306.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1476, allocations: 0 / 306.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01092/0.1586, allocations: 8.889 MB / 315.1 MB, free: 10.27 MB / 266.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.947312409989536]