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.0009671/0.0009671, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.0009015/0.0009015, allocations: 165 kB / 24.56 MB, free: 20 kB / 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.892/0.892, allocations: 177.1 MB / 205 MB, free: 5.613 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.2637/0.2637, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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 1.733e-06/1.733e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.91e-05, allocations: 5.688 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001455/0.001474, allocations: 1.247 MB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007948/0.002269, allocations: 427.8 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.002281, allocations: 0 / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.002299, allocations: 0 / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.002324, allocations: 0 / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.002775, allocations: 75.61 kB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.141e-05/0.002816, allocations: 4 kB / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.002847, allocations: 0 / 379.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.002871, allocations: 4 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.003042, allocations: 35.95 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.003051, allocations: 4 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.003102, allocations: 7.984 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.00311, allocations: 4 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.347e-05/0.003124, allocations: 4 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.83e-05/0.003192, allocations: 11.92 kB / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003194, allocations: 0 / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003194, allocations: 0 / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003198, allocations: 0 / 379.9 MB, free: 0.8164 MB / 346.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.00022/0.003418, allocations: 348.4 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003453, allocations: 8.031 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.003573, allocations: 8.938 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.528e-05/0.003638, allocations: 104.6 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.003648, allocations: 4.312 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.003656, allocations: 384 / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.00375, allocations: 67.88 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.003756, allocations: 192 / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.003764, allocations: 384 / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00377, allocations: 384 / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.003783, allocations: 7.938 kB / 380.4 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.004071, allocations: 470.2 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.004151, allocations: 269.4 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.00418, allocations: 130.8 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.004206, allocations: 127.2 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.004243, allocations: 152.6 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.004244, allocations: 0 / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.655e-05/0.00429, allocations: 29.64 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.004336, allocations: 174.6 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.004403, allocations: 149.9 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.004409, allocations: 25.7 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.004446, allocations: 131.2 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.004448, allocations: 4.125 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.004472, allocations: 27.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.004571, allocations: 496.1 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-06/0.004578, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.004583, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.004601, allocations: 7.688 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004603, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.527e-05/0.004668, allocations: 29.7 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.004681, allocations: 10.34 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004686, allocations: 8.031 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.004697, allocations: 0 / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.221e-05/0.004729, allocations: 0 / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.004736, allocations: 7.922 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-06/0.004743, allocations: 7.938 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.004748, allocations: 0 / 382.6 MB, free: 13.85 MB / 362.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.198e-05/0.00482, allocations: 275.8 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.004856, allocations: 148.9 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.004893, allocations: 151.8 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.004942, allocations: 272 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.004994, allocations: 272.1 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.094e-05/0.005045, allocations: 272 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.005185, allocations: 499.9 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.00521, allocations: 144.9 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.00524, allocations: 152.8 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/0.005288, allocations: 264.1 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.005338, allocations: 272 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.853e-05/0.005387, allocations: 272 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-05/0.00544, allocations: 268 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.005548, allocations: 448 kB / 386.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.005583, allocations: 148.8 kB / 386.4 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.005638, allocations: 276.1 kB / 386.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.005684, allocations: 152.8 kB / 386.8 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.005978, allocations: 268.4 kB / 387.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.006004, allocations: 144.9 kB / 387.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.604e-05/0.00603, allocations: 123.2 kB / 387.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00603, allocations: 0 / 387.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001259/0.006156, allocations: 0 / 387.3 MB, free: 8.934 MB / 362.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.768e-05/0.006234, allocations: 218.4 kB / 387.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.237e-05/0.006296, allocations: 11.81 kB / 387.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006298, allocations: 4.062 kB / 387.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.006299, allocations: 4 kB / 387.6 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.006548, allocations: 0.7023 MB / 388.3 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.00673, allocations: 211.1 kB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.586e-05/0.006756, allocations: 51.36 kB / 388.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.395e-05/0.00677, allocations: 0 / 388.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.006787, allocations: 12.44 kB / 388.5 MB, free: 7.66 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006788, allocations: 0 / 388.5 MB, free: 7.66 MB / 362.7 MB Notification: Performance of Templates: time 0.001344/0.008132, allocations: 192.7 kB / 388.7 MB, free: 7.473 MB / 362.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: 2.615080622024834]