Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008508/0.0008508, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008857/0.0008857, allocations: 162 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7769/0.7769, allocations: 158.6 MB / 187.2 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 299.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.907e-05, allocations: 6.281 kB / 299.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1199/0.1199, allocations: 6.988 MB / 306.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.1227, allocations: 2.448 MB / 309.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.123, allocations: 27.34 kB / 309.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.124, allocations: 496.1 kB / 309.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.1245, allocations: 449.8 kB / 310.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1248, allocations: 215.7 kB / 310.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.1256, allocations: 1.282 MB / 311.6 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.126, allocations: 344.6 kB / 311.9 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006471/0.1267, allocations: 0.7292 MB / 312.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.1271, allocations: 380.7 kB / 313 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.1272, allocations: 114.9 kB / 313.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.1274, allocations: 151.5 kB / 313.3 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.1276, allocations: 241.8 kB / 313.5 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.1279, allocations: 406.4 kB / 313.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.1291, allocations: 1.457 MB / 315.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1291, allocations: 4.594 kB / 315.4 MB, free: 7.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1291, allocations: 0 / 315.4 MB, free: 7.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1291, allocations: 2.062 kB / 315.4 MB, free: 7.73 MB / 282.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.001292/0.1304, allocations: 1.244 MB / 316.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1304, allocations: 13.36 kB / 316.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.1307, allocations: 158.9 kB / 316.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.1314, allocations: 0.5786 MB / 317.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.1314, allocations: 59.66 kB / 317.4 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.1315, allocations: 95.92 kB / 317.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.1323, allocations: 0.8735 MB / 318.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.1324, allocations: 5.156 kB / 318.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.1324, allocations: 32.84 kB / 318.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.1324, allocations: 20.25 kB / 318.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.1331, allocations: 0.5399 MB / 319 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.1352, allocations: 2.935 MB / 321.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.1355, allocations: 230 kB / 322.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1356, allocations: 111.2 kB / 322.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1357, allocations: 7.156 kB / 322.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.1357, allocations: 37.14 kB / 322.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.704e-06/0.1357, allocations: 0 / 322.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001156/0.1368, allocations: 0.927 MB / 323.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.1369, allocations: 84.39 kB / 323.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.1374, allocations: 0.6899 MB / 324 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1374, allocations: 31.92 kB / 324 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1376, allocations: 0.5391 MB / 324.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1376, allocations: 109.9 kB / 324.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.1377, allocations: 126.9 kB / 324.8 MB, free: 1.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.1377, allocations: 377.9 kB / 325.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1379, allocations: 129.9 kB / 325.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.1381, allocations: 471.7 kB / 325.8 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.1385, allocations: 0.6154 MB / 326.4 MB, free: 36 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1385, allocations: 2.406 kB / 326.4 MB, free: 36 kB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000674/0.1392, allocations: 0.6377 MB / 327 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1392, allocations: 8.656 kB / 327 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1392, allocations: 19.81 kB / 327.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.1394, allocations: 31.59 kB / 327.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1396, allocations: 154.4 kB / 327.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006547/0.1403, allocations: 1.267 MB / 328.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1405, allocations: 41.34 kB / 328.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1405, allocations: 32.19 kB / 328.6 MB, free: 14.34 MB / 298.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.0002037/0.1407, allocations: 241.2 kB / 328.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.1408, allocations: 75.53 kB / 328.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.1412, allocations: 326.2 kB / 329.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1412, allocations: 2.625 kB / 329.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1412, allocations: 1.125 kB / 329.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1412, allocations: 3.984 kB / 329.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.1421, allocations: 0.9304 MB / 330.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1421, allocations: 5.812 kB / 330.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1423, allocations: 58.09 kB / 330.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.101e-05/0.1423, allocations: 24.59 kB / 330.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1423, allocations: 7.719 kB / 330.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005154/0.1428, allocations: 1.244 MB / 331.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1428, allocations: 13.56 kB / 331.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.1434, allocations: 0.566 MB / 332.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1435, allocations: 88.11 kB / 332.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1435, allocations: 8.344 kB / 332.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1437, allocations: 24.98 kB / 332.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.1437, allocations: 29.67 kB / 332.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1437, allocations: 11.84 kB / 332.2 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003542/0.1441, allocations: 462.9 kB / 332.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1441, allocations: 0 / 332.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000392/0.1445, allocations: 169.2 kB / 332.8 MB, free: 11.11 MB / 298.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.0001594/0.1446, allocations: 123.9 kB / 333 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.1452, allocations: 468.2 kB / 333.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1452, allocations: 0 / 333.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1453, allocations: 236.4 kB / 333.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.1458, allocations: 184.1 kB / 333.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1473, allocations: 1.408 MB / 335.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1475, allocations: 360.9 kB / 335.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.1476, allocations: 57.73 kB / 335.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1476, allocations: 0 / 335.6 MB, free: 9.281 MB / 298.7 MB Notification: Performance of Templates: time 0.009743/0.1573, allocations: 13.97 MB / 349.6 MB, free: 11.48 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.920343039557338]