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.0009745/0.0009745, allocations: 80.8 kB / 21.49 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.001235/0.001235, allocations: 178.3 kB / 24.92 MB, free: 8.766 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.303/0.303, allocations: 34.26 MB / 296.1 MB, free: 0.6992 MB / 266.7 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.836e-06/2.836e-06, allocations: 0 / 325.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.698e-05, allocations: 3.188 kB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00279/0.002827, allocations: 1.245 MB / 326.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.003803, allocations: 432.6 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.00382, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.003843, allocations: 0 / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.003882, allocations: 4 kB / 326.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.00451, allocations: 71.67 kB / 327 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.696e-05/0.004557, allocations: 4 kB / 327 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.0046, allocations: 0 / 327 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.004634, allocations: 4 kB / 327 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.00485, allocations: 35.95 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.00486, allocations: 0 / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.00492, allocations: 4 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.004929, allocations: 0 / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.004943, allocations: 8.562 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.119e-05/0.005024, allocations: 19.86 kB / 327.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005027, allocations: 0 / 327.1 MB, free: 5.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005028, allocations: 4 kB / 327.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005032, allocations: 0 / 327.1 MB, free: 5.898 MB / 298.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.0002336/0.005266, allocations: 212.8 kB / 327.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.005302, allocations: 8.031 kB / 327.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.005431, allocations: 8.922 kB / 327.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.005499, allocations: 101.8 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.00551, allocations: 384 / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.005521, allocations: 4.375 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.005604, allocations: 55.97 kB / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.005611, allocations: 192 / 327.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.005619, allocations: 8.359 kB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.005625, allocations: 384 / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.195e-05/0.005637, allocations: 11.88 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.005874, allocations: 282.9 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.005948, allocations: 169.2 kB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.005977, allocations: 80.14 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.006001, allocations: 75.28 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/0.006056, allocations: 109.8 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.006057, allocations: 0 / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.364e-05/0.006121, allocations: 37.62 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.006182, allocations: 134.6 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.00626, allocations: 99.39 kB / 328.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.00627, allocations: 25.7 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.006319, allocations: 89.12 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.006321, allocations: 0 / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.006347, allocations: 9.719 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.006438, allocations: 314.8 kB / 328.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.006445, allocations: 4 kB / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.00645, allocations: 0 / 328.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.006479, allocations: 20.97 kB / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006482, allocations: 0 / 328.9 MB, free: 3.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.478e-05/0.006556, allocations: 33.64 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006569, allocations: 4 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006574, allocations: 0 / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.006588, allocations: 3.984 kB / 328.9 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.006626, allocations: 7.938 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006629, allocations: 0 / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.141e-05/0.00664, allocations: 3.938 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.006644, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.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 7.57e-05/0.00672, allocations: 193.2 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.006772, allocations: 108.9 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.006813, allocations: 104 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.006865, allocations: 180.3 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-05/0.006918, allocations: 188.2 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/0.006973, allocations: 180.2 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.007143, allocations: 321.4 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.007173, allocations: 101 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.007207, allocations: 108.9 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-05/0.007258, allocations: 180.3 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.007307, allocations: 180.3 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.321e-05/0.00736, allocations: 188.2 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.907e-05/0.007409, allocations: 176.3 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.007526, allocations: 303.7 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.007565, allocations: 109 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.007621, allocations: 184.2 kB / 331.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.007689, allocations: 101.3 kB / 331.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.007745, allocations: 184.2 kB / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.007777, allocations: 105 kB / 332.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.412e-05/0.007791, allocations: 8.797 kB / 332.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007792, allocations: 96 / 332.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.008, allocations: 8 kB / 332.1 MB, free: 0.5391 MB / 298.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 0.0001148/0.008115, allocations: 151.7 kB / 332.2 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.437e-05/0.008169, allocations: 9.359 kB / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.008174, allocations: 3.938 kB / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.008175, allocations: 0 / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.00845, allocations: 467.7 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.008666, allocations: 154.2 kB / 332.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.008705, allocations: 59.28 kB / 332.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.006e-05/0.008725, allocations: 4.062 kB / 332.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.008754, allocations: 47.38 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.008755, allocations: 0 / 333 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Templates: time 0.001808/0.01056, allocations: 203.6 kB / 333.2 MB, free: 15.41 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.007769941817969]