Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001974/0.001974, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002361/0.002361, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.579/1.579, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 59.91 kB / 0.4914 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.138, allocations: 66 MB / 0.5558 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00268/0.1407, allocations: 1.219 MB / 0.557 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000838/0.1415, allocations: 419.5 kB / 0.5574 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.1416, allocations: 0 / 0.5574 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.1416, allocations: 0 / 0.5574 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.1416, allocations: 3.984 kB / 0.5574 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.1422, allocations: 67.75 kB / 0.5575 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.1422, allocations: 8 kB / 0.5575 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.1423, allocations: 3.984 kB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.1423, allocations: 3.938 kB / 0.5575 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.1426, allocations: 39.95 kB / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.1426, allocations: 0 / 0.5576 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.1426, allocations: 12 kB / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1426, allocations: 0 / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.1427, allocations: 4 kB / 0.5576 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.372e-05/0.1428, allocations: 4 kB / 0.5576 GB, free: 3.555 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1428, allocations: 0 / 0.5576 GB, free: 3.555 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1428, allocations: 4 kB / 0.5576 GB, free: 3.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1428, allocations: 0 / 0.5576 GB, free: 3.551 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004338/0.1432, allocations: 319.5 kB / 0.5579 GB, free: 3.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1432, allocations: 8.031 kB / 0.5579 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1434, allocations: 4.938 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1435, allocations: 164.4 kB / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1435, allocations: 384 / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1435, allocations: 4.375 kB / 0.5581 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1437, allocations: 38.14 kB / 0.5581 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1437, allocations: 192 / 0.5581 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1437, allocations: 3.938 kB / 0.5581 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1437, allocations: 0 / 0.5581 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.1437, allocations: 4 kB / 0.5581 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.1442, allocations: 379.5 kB / 0.5585 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1443, allocations: 177 kB / 0.5586 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1444, allocations: 84.08 kB / 0.5587 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.1444, allocations: 79.28 kB / 0.5588 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.1445, allocations: 105.8 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1445, allocations: 0 / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.238e-05/0.1445, allocations: 33.66 kB / 0.5589 GB, free: 2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.1446, allocations: 134.7 kB / 0.5591 GB, free: 1.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.1447, allocations: 89.86 kB / 0.5591 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.1448, allocations: 25.7 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1449, allocations: 80.14 kB / 0.5592 GB, free: 1.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.1449, allocations: 0 / 0.5592 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1449, allocations: 17.72 kB / 0.5593 GB, free: 1.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.145, allocations: 310.8 kB / 0.5596 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-06/0.1451, allocations: 4.062 kB / 0.5596 GB, free: 1.305 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.1451, allocations: 8 kB / 0.5596 GB, free: 1.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/0.1451, allocations: 4.859 kB / 0.5596 GB, free: 1.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1451, allocations: 0 / 0.5596 GB, free: 1.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001055/0.1452, allocations: 37.62 kB / 0.5596 GB, free: 1.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1452, allocations: 8 kB / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1452, allocations: 0 / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1452, allocations: 0 / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.1453, allocations: 0 / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.1453, allocations: 96 / 0.5596 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.1453, allocations: 8 kB / 0.5596 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1453, allocations: 3.938 kB / 0.5596 GB, free: 1.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.1454, allocations: 191.2 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.1455, allocations: 101 kB / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.1455, allocations: 119.9 kB / 0.56 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.525e-05/0.1456, allocations: 184.2 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.624e-05/0.1457, allocations: 180.3 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.802e-05/0.1458, allocations: 180.2 kB / 0.5605 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1461, allocations: 409.2 kB / 0.5609 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/0.1462, allocations: 101 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.1462, allocations: 104.9 kB / 0.5611 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-05/0.1463, allocations: 180.3 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.1464, allocations: 192.4 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.622e-05/0.1465, allocations: 192.2 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.131e-05/0.1466, allocations: 176.3 kB / 0.5618 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.1468, allocations: 307.7 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1469, allocations: 190 kB / 0.5623 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.1471, allocations: 180.3 kB / 0.5625 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.1471, allocations: 101 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.1473, allocations: 184.2 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/0.1473, allocations: 101 kB / 0.5628 GB, free: 13.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1475, allocations: 87.27 kB / 0.5629 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 0 / 0.5629 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1477, allocations: 0 / 0.5629 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.1478, allocations: 170.5 kB / 0.5631 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.1479, allocations: 7.938 kB / 0.5631 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1479, allocations: 0 / 0.5631 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-06/0.1479, allocations: 4 kB / 0.5631 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1483, allocations: 463.7 kB / 0.5635 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1486, allocations: 160.9 kB / 0.5637 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.1491, allocations: 0.6729 MB / 0.5644 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.941e-05/0.1491, allocations: 0 / 0.5644 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.1491, allocations: 11.44 kB / 0.5644 GB, free: 12.07 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1491, allocations: 0 / 0.5644 GB, free: 12.07 MB / 430.1 MB Notification: Performance of Templates: time 0.002401/0.1515, allocations: 164.8 kB / 0.5645 GB, free: 11.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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: 5.069876469671726]