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.002033/0.002033, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.002385/0.002385, allocations: 163.6 kB / 23.96 MB, free: 4.164 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.511/1.511, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.2162/0.2162, allocations: 34.27 MB / 295 MB, free: 14.57 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 2.004e-06/2.004e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.646e-05, allocations: 6.219 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002327/0.002353, allocations: 1.234 MB / 443.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.003176, allocations: 400 kB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.003192, allocations: 0 / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.003211, allocations: 0 / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.347e-05/0.003234, allocations: 7.938 kB / 444.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.003747, allocations: 75.61 kB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.003789, allocations: 8 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.00383, allocations: 0 / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.003859, allocations: 7.984 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.004081, allocations: 35.97 kB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.00409, allocations: 0 / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.004169, allocations: 7.984 kB / 444.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.004177, allocations: 0 / 444.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.004193, allocations: 0 / 444.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.442e-05/0.004278, allocations: 7.938 kB / 444.4 MB, free: 3.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.004283, allocations: 8 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004284, allocations: 4 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.004294, allocations: 0 / 444.5 MB, free: 3.609 MB / 366.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.0003601/0.004654, allocations: 238.4 kB / 444.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004692, allocations: 8.031 kB / 444.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.004835, allocations: 4.938 kB / 444.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.004935, allocations: 101.8 kB / 444.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004946, allocations: 4.359 kB / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.004961, allocations: 4.375 kB / 444.8 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.005092, allocations: 59.91 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005101, allocations: 4.188 kB / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.00511, allocations: 384 / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.005115, allocations: 384 / 444.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.005132, allocations: 7.938 kB / 444.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.00548, allocations: 331.2 kB / 445.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.005586, allocations: 169.1 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.005628, allocations: 84.17 kB / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.005666, allocations: 75.28 kB / 445.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.005718, allocations: 109.8 kB / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.005719, allocations: 0 / 445.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.985e-05/0.005789, allocations: 29.64 kB / 445.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.005863, allocations: 134.7 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.005952, allocations: 93.86 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.00597, allocations: 25.7 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.006029, allocations: 88.08 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.006034, allocations: 4 kB / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.006065, allocations: 13.7 kB / 446 MB, free: 1.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.006206, allocations: 314.8 kB / 446.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.006213, allocations: 0 / 446.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-06/0.006217, allocations: 4 kB / 446.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/0.006238, allocations: 9.047 kB / 446.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006239, allocations: 0 / 446.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.582e-05/0.006335, allocations: 37.7 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.006347, allocations: 7.938 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.006355, allocations: 3.938 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006368, allocations: 0 / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.006408, allocations: 7.984 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.006413, allocations: 0 / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.006423, allocations: 3.938 kB / 446.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.006427, allocations: 0 / 446.4 MB, free: 1.484 MB / 366.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.0001133/0.00654, allocations: 185.8 kB / 446.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.006619, allocations: 105 kB / 446.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.006677, allocations: 107.9 kB / 446.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-05/0.006767, allocations: 184.2 kB / 447 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.769e-05/0.006854, allocations: 184.3 kB / 447.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.769e-05/0.006932, allocations: 184.2 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.007164, allocations: 352.9 kB / 447.7 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.00721, allocations: 101 kB / 447.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1664/0.1736, allocations: 110.8 kB / 447.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-05/0.1737, allocations: 177.5 kB / 448 MB, free: 19.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1737, allocations: 181.6 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.001e-05/0.1737, allocations: 186.2 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-05/0.1737, allocations: 180.1 kB / 448.6 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.276e-05/0.1738, allocations: 306.6 kB / 448.9 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.1738, allocations: 104.7 kB / 449 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1739, allocations: 186.2 kB / 449.2 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.1739, allocations: 107.9 kB / 449.3 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1739, allocations: 185.4 kB / 449.5 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.174, allocations: 102.7 kB / 449.6 MB, free: 17.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.23e-05/0.174, allocations: 77.02 kB / 449.6 MB, free: 17.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.174, allocations: 2.906 kB / 449.6 MB, free: 17.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1742, allocations: 1.062 kB / 449.6 MB, free: 17.6 MB / 366.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 9.664e-05/0.1743, allocations: 170.8 kB / 449.8 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.477e-05/0.1744, allocations: 6.125 kB / 449.8 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1744, allocations: 0 / 449.8 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.1744, allocations: 4.875 kB / 449.8 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1746, allocations: 460.1 kB / 450.3 MB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.1748, allocations: 158.8 kB / 450.4 MB, free: 16.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.084e-05/0.1748, allocations: 54.42 kB / 450.5 MB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.71e-05/0.1749, allocations: 3.078 kB / 450.5 MB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.1749, allocations: 9.812 kB / 450.5 MB, free: 16.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1749, allocations: 0 / 450.5 MB, free: 16.75 MB / 366.1 MB Notification: Performance of Templates: time 0.002289/0.1772, allocations: 186.5 kB / 450.7 MB, free: 16.73 MB / 366.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: 4.682411056011915]