Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001331/0.001331, allocations: 82.12 kB / 20.68 MB, free: 1.027 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.001458/0.001458, allocations: 162.8 kB / 23.95 MB, free: 4.156 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.39/1.39, allocations: 177.2 MB / 204.3 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2035/0.2035, allocations: 32.81 MB / 293.5 MB, free: 16 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.998e-06/3.998e-06, allocations: 4 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.484e-05, allocations: 2.281 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003638/0.003673, allocations: 2.007 MB / 442.1 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004835, allocations: 0.5648 MB / 442.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.00493, allocations: 8 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.005068, allocations: 19.78 kB / 442.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.005183, allocations: 39.58 kB / 442.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.005587, allocations: 83.81 kB / 442.8 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.005868, allocations: 199.1 kB / 443 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.006003, allocations: 25.8 kB / 443 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.006261, allocations: 123.7 kB / 443.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.006397, allocations: 55.86 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.006433, allocations: 16 kB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-05/0.006493, allocations: 16 kB / 443.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.006548, allocations: 43.81 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.006647, allocations: 51.89 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.007055, allocations: 187.4 kB / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.007059, allocations: 0 / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.00706, allocations: 0 / 443.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.007065, allocations: 3.938 kB / 443.5 MB, free: 4.688 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008343/0.007899, allocations: 385.8 kB / 443.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.007939, allocations: 8.031 kB / 443.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.008131, allocations: 28.83 kB / 443.9 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.008416, allocations: 157.3 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.008432, allocations: 4.609 kB / 444.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.008473, allocations: 16.31 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.008945, allocations: 221.8 kB / 444.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.008964, allocations: 3.938 kB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.008991, allocations: 11.94 kB / 444.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.008996, allocations: 0 / 444.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.009333, allocations: 108.5 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01034, allocations: 0.6028 MB / 445.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.01074, allocations: 134.5 kB / 445.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.01089, allocations: 52.83 kB / 445.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.01092, allocations: 4 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.01096, allocations: 30.56 kB / 445.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.01096, allocations: 0 / 445.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001415/0.01237, allocations: 404.4 kB / 445.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.01242, allocations: 55.41 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.01257, allocations: 153.3 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.0126, allocations: 25.7 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.0127, allocations: 120.4 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.01277, allocations: 67.42 kB / 446.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.01285, allocations: 41.7 kB / 446.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01304, allocations: 326.8 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.01324, allocations: 63.95 kB / 446.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.01347, allocations: 107.2 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.01391, allocations: 177.8 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01391, allocations: 0 / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000536/0.01444, allocations: 220.3 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01446, allocations: 4 kB / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01447, allocations: 4.094 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.01449, allocations: 4 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.01481, allocations: 51.91 kB / 447.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01481, allocations: 0 / 447.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01497, allocations: 15.98 kB / 447.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.01499, allocations: 8 kB / 447.1 MB, free: 0.9102 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.0001329/0.01512, allocations: 129.8 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.01517, allocations: 15.91 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.01523, allocations: 25.12 kB / 447.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01523, allocations: 0 / 447.2 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01524, allocations: 7.938 kB / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01524, allocations: 0 / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.01633, allocations: 0.5456 MB / 447.8 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01633, allocations: 0 / 447.8 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.01659, allocations: 43.97 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.0166, allocations: 4 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.01662, allocations: 11.88 kB / 447.9 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.01662, allocations: 3.938 kB / 447.9 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01662, allocations: 0 / 447.9 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1842/0.2008, allocations: 289.9 kB / 448.1 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.2009, allocations: 23.19 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2009, allocations: 10.28 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.2011, allocations: 15.62 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.2012, allocations: 19.75 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2012, allocations: 6.156 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.2013, allocations: 112.4 kB / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2013, allocations: 0 / 448.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.2016, allocations: 35.47 kB / 448.4 MB, free: 21.28 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 (19): * Single equations (assignments): 19 * 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.0001153/0.2017, allocations: 99.81 kB / 448.5 MB, free: 21.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.2022, allocations: 158.9 kB / 448.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2022, allocations: 3.094 kB / 448.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.2024, allocations: 94.8 kB / 448.7 MB, free: 21.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.2028, allocations: 18.97 kB / 448.7 MB, free: 21.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.2035, allocations: 331.5 kB / 449.1 MB, free: 21.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.112e-05/0.2036, allocations: 111.7 kB / 449.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.2037, allocations: 26.95 kB / 449.2 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.2038, allocations: 19.42 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2038, allocations: 0 / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of Templates: time 0.005457/0.2092, allocations: 1.945 MB / 451.2 MB, free: 20.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gasForce.dens in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat. Warning: Get data of variable gasForce.dens from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.607405047863722]