Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.0009326/0.0009326, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003749/0.003749, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.8698/0.8698, allocations: 177 MB / 204.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.143e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.1706/0.1707, allocations: 1.22 MB / 444.6 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005595/0.1712, allocations: 400.9 kB / 445 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.1712, allocations: 0 / 445 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1713, allocations: 0 / 445 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.1713, allocations: 1.641 kB / 445 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.1717, allocations: 72.78 kB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.012e-05/0.1717, allocations: 2.844 kB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1718, allocations: 2.906 kB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.1718, allocations: 6.047 kB / 445.1 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.172, allocations: 33.73 kB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.172, allocations: 0 / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.1721, allocations: 9.922 kB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-06/0.1721, allocations: 3.938 kB / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.248e-05/0.1721, allocations: 3.172 kB / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.94e-05/0.1721, allocations: 15.52 kB / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1722, allocations: 2.062 kB / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1722, allocations: 0 / 445.2 MB, free: 43.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1722, allocations: 0 / 445.2 MB, free: 43.63 MB / 410.7 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.0001586/0.1723, allocations: 235.1 kB / 445.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1723, allocations: 11.91 kB / 445.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1725, allocations: 3.719 kB / 445.4 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.456e-05/0.1725, allocations: 110.7 kB / 445.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1725, allocations: 3 kB / 445.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.1725, allocations: 384 / 445.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/0.1726, allocations: 54.69 kB / 445.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1726, allocations: 0.9062 kB / 445.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1726, allocations: 384 / 445.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1726, allocations: 2.281 kB / 445.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.418e-05/0.1726, allocations: 6.656 kB / 445.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1728, allocations: 334.5 kB / 445.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.134e-05/0.1728, allocations: 165.1 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.097e-05/0.1728, allocations: 84.08 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1728, allocations: 83.66 kB / 446.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.1729, allocations: 105.8 kB / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 6.01e-07/0.1729, allocations: 0 / 446.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 3.86e-05/0.1729, allocations: 36.2 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.1729, allocations: 126.7 kB / 446.5 MB, free: 42.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.186e-05/0.173, allocations: 103 kB / 446.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-06/0.173, allocations: 26.47 kB / 446.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.173, allocations: 80.14 kB / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.173, allocations: 0 / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.173, allocations: 18.47 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.039e-05/0.173, allocations: 310.8 kB / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-06/0.173, allocations: 2.906 kB / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.173, allocations: 0 / 447.1 MB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.503e-05/0.173, allocations: 17.92 kB / 447.1 MB, free: 41.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.173, allocations: 3.656 kB / 447.1 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.744e-05/0.1731, allocations: 32.52 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1731, allocations: 6 kB / 447.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1731, allocations: 3.938 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1731, allocations: 3.938 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.422e-05/0.1732, allocations: 2.969 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1732, allocations: 0 / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-06/0.1732, allocations: 3.938 kB / 447.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1732, allocations: 2.656 kB / 447.1 MB, free: 41.63 MB / 410.7 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 3.162e-05/0.1732, allocations: 188.2 kB / 447.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.1732, allocations: 107.8 kB / 447.4 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.1732, allocations: 109.6 kB / 447.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.1732, allocations: 183.6 kB / 447.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.1733, allocations: 183.4 kB / 447.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.1733, allocations: 182.8 kB / 448.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.822e-05/0.1733, allocations: 351.6 kB / 448.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.1733, allocations: 104.2 kB / 448.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.1733, allocations: 101 kB / 448.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.1734, allocations: 182.9 kB / 448.8 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1734, allocations: 180.4 kB / 449 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.1734, allocations: 192.7 kB / 449.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.1734, allocations: 177.5 kB / 449.3 MB, free: 39.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.344e-05/0.1734, allocations: 303.9 kB / 449.6 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.1734, allocations: 110.3 kB / 449.7 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1735, allocations: 180.2 kB / 449.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.1735, allocations: 111.6 kB / 450 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1735, allocations: 180.3 kB / 450.2 MB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1735, allocations: 114.4 kB / 450.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.054e-05/0.1735, allocations: 79.28 kB / 450.4 MB, free: 38.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1735, allocations: 0 / 450.4 MB, free: 38.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001353/0.1737, allocations: 2.688 kB / 450.4 MB, free: 38.27 MB / 410.7 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 6.749e-05/0.1737, allocations: 168.1 kB / 450.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.554e-05/0.1738, allocations: 2.5 kB / 450.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1738, allocations: 3.719 kB / 450.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1738, allocations: 3.938 kB / 450.6 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1739, allocations: 457.4 kB / 451 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/0.1741, allocations: 185.5 kB / 451.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.309e-05/0.1741, allocations: 54.14 kB / 451.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.1741, allocations: 8.5 kB / 451.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1741, allocations: 0 / 451.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of Templates: time 0.0009634/0.1751, allocations: 328.6 kB / 451.6 MB, free: 37.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.284804729744792]