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.0009089/0.0009089, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00114/0.00114, allocations: 169 kB / 24.91 MB, free: 8.723 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 0.9089/0.9089, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1752/0.1752, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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 1.553e-06/1.553e-06, allocations: 0 / 325.3 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.348e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001506/0.00152, allocations: 1.289 MB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000565/0.002085, allocations: 435.8 kB / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.002095, allocations: 3.938 kB / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.002107, allocations: 0 / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.002131, allocations: 4 kB / 327 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.002526, allocations: 71.67 kB / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.343e-05/0.002559, allocations: 0 / 327.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.08e-05/0.00259, allocations: 4 kB / 327.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.002617, allocations: 0 / 327.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.002759, allocations: 35.95 kB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.002766, allocations: 0 / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.00282, allocations: 4 kB / 327.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-06/0.002827, allocations: 0 / 327.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-06/0.002837, allocations: 8 kB / 327.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.888e-05/0.002896, allocations: 15.92 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.002897, allocations: 0 / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002898, allocations: 0 / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.002901, allocations: 0 / 327.1 MB, free: 14.86 MB / 314.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.0001558/0.003056, allocations: 220.7 kB / 327.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.003083, allocations: 8.031 kB / 327.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/0.003172, allocations: 4.938 kB / 327.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.826e-05/0.00323, allocations: 101.8 kB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.003238, allocations: 4.312 kB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-06/0.003243, allocations: 4.375 kB / 327.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.894e-05/0.003302, allocations: 59.95 kB / 327.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.003307, allocations: 192 / 327.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-06/0.003312, allocations: 384 / 327.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.003315, allocations: 4.375 kB / 327.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-06/0.003323, allocations: 3.938 kB / 327.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.003494, allocations: 286.9 kB / 327.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.003547, allocations: 173.1 kB / 328 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.003567, allocations: 84.14 kB / 328.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.003584, allocations: 79.27 kB / 328.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.003613, allocations: 109.8 kB / 328.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.22e-07/0.003614, allocations: 4 kB / 328.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 3.945e-05/0.003653, allocations: 25.7 kB / 328.3 MB, free: 13.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.003687, allocations: 134.6 kB / 328.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.693e-05/0.003734, allocations: 98.7 kB / 328.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.003742, allocations: 29.7 kB / 328.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.003773, allocations: 88.44 kB / 328.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.003775, allocations: 0 / 328.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.003792, allocations: 9.719 kB / 328.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.003857, allocations: 318.8 kB / 329 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-06/0.00386, allocations: 4.125 kB / 329 MB, free: 12.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.003863, allocations: 0 / 329 MB, free: 12.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.49e-05/0.003878, allocations: 8.859 kB / 329 MB, free: 12.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.003879, allocations: 0 / 329 MB, free: 12.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.544e-05/0.003925, allocations: 37.62 kB / 329 MB, free: 12.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.003933, allocations: 7.938 kB / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.003937, allocations: 0 / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.003945, allocations: 0 / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.00397, allocations: 7.938 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.003973, allocations: 96 / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-06/0.00398, allocations: 4 kB / 329 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.003983, allocations: 3.984 kB / 329 MB, free: 12.8 MB / 314.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 5.157e-05/0.004035, allocations: 185.1 kB / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.004069, allocations: 101 kB / 329.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.004101, allocations: 107.9 kB / 329.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-05/0.004139, allocations: 188.3 kB / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-05/0.004179, allocations: 180.2 kB / 329.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/0.004217, allocations: 184.2 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.004323, allocations: 317.4 kB / 330.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.004345, allocations: 104.9 kB / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.004369, allocations: 109 kB / 330.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-05/0.004405, allocations: 180.2 kB / 330.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.004443, allocations: 180.2 kB / 330.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.612e-05/0.00449, allocations: 184.3 kB / 331 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.405e-05/0.004544, allocations: 180.2 kB / 331.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.004656, allocations: 311.9 kB / 331.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.004693, allocations: 105 kB / 331.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.004749, allocations: 176.3 kB / 331.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.00482, allocations: 108.9 kB / 331.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.004864, allocations: 180.3 kB / 332 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.004888, allocations: 112.9 kB / 332.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.258e-06/0.004897, allocations: 8.797 kB / 332.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004897, allocations: 4 kB / 332.2 MB, free: 9.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001067/0.005004, allocations: 0 / 332.2 MB, free: 9.492 MB / 314.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 7.121e-05/0.005075, allocations: 151.7 kB / 332.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.468e-05/0.00511, allocations: 12.86 kB / 332.3 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.005113, allocations: 0 / 332.3 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.005114, allocations: 0 / 332.3 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.005279, allocations: 455.8 kB / 332.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001406/0.00542, allocations: 173.5 kB / 332.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.435e-05/0.005444, allocations: 51.36 kB / 333 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.251e-05/0.005457, allocations: 3.938 kB / 333 MB, free: 8.594 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.00548, allocations: 47.38 kB / 333 MB, free: 8.547 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.005481, allocations: 4 kB / 333 MB, free: 8.543 MB / 314.7 MB Notification: Performance of Templates: time 0.001171/0.006651, allocations: 208.8 kB / 333.3 MB, free: 8.34 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 -s gbode -gbm=radauIIA3 -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: 2.830646911635995]