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.001637/0.001637, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001731/0.001731, allocations: 165.2 kB / 25.61 MB, free: 8.902 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.913/0.913, allocations: 177.2 MB / 206.1 MB, free: 4.508 MB / 186.7 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.1421/0.1421, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.7 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 1.673e-06/1.673e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.382e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002243/0.002267, allocations: 2.086 MB / 379.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007912/0.003058, allocations: 0.5959 MB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.003161, allocations: 7.938 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.003263, allocations: 15.8 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.00335, allocations: 43.59 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.003636, allocations: 79.86 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003808, allocations: 191.2 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.003916, allocations: 41.7 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.004096, allocations: 119.8 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.004202, allocations: 63.8 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.004224, allocations: 12 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.00427, allocations: 16 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.004296, allocations: 35.89 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.004336, allocations: 55.83 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004497, allocations: 131.6 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004499, allocations: 0 / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.0045, allocations: 0 / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004504, allocations: 0 / 380.7 MB, free: 22.09 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004266/0.004931, allocations: 480.1 kB / 381.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.004963, allocations: 15.97 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.005082, allocations: 36.78 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005229, allocations: 160.9 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.005239, allocations: 4.609 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.005265, allocations: 20.36 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.005448, allocations: 202.9 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.00546, allocations: 7.938 kB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.005474, allocations: 7.938 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.00548, allocations: 4 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.00555, allocations: 55.88 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.006006, allocations: 0.6921 MB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.006134, allocations: 95.09 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.00617, allocations: 35.67 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.006188, allocations: 3.938 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.006204, allocations: 37.39 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.006206, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005024/0.006708, allocations: 257 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.006727, allocations: 51.41 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.006792, allocations: 212.9 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006805, allocations: 25.7 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.006871, allocations: 167.1 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.996e-05/0.006911, allocations: 71.41 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.006966, allocations: 43.31 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.007014, allocations: 0.5 MB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.00706, allocations: 19.98 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.162e-05/0.007112, allocations: 73.64 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.79e-05/0.00721, allocations: 108.5 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.007211, allocations: 0 / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001569/0.007368, allocations: 140.4 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.007382, allocations: 7.984 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.007388, allocations: 4 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.007399, allocations: 0 / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.007566, allocations: 51.91 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.007569, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.323e-05/0.007632, allocations: 12.09 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.007643, allocations: 8 kB / 384.3 MB, free: 18.27 MB / 314.7 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 5.72e-05/0.0077, allocations: 172.4 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.007734, allocations: 23.91 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.00776, allocations: 25.06 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007762, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.007769, allocations: 4 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007772, allocations: 0 / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.008156, allocations: 483.1 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.008157, allocations: 0 / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.008266, allocations: 39.91 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.008269, allocations: 4 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.00828, allocations: 4 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008281, allocations: 0 / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.008283, allocations: 3.938 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.008431, allocations: 282.5 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.008466, allocations: 23.89 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.008482, allocations: 8 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.008564, allocations: 11.98 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.008605, allocations: 19.91 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.008615, allocations: 4 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.008646, allocations: 154.2 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008646, allocations: 3.938 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.008833, allocations: 36 kB / 385.6 MB, free: 16.93 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 (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 7.766e-05/0.008911, allocations: 95.25 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.009053, allocations: 103.6 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.009054, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.009109, allocations: 59.59 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.009332, allocations: 25.62 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.009973, allocations: 346.7 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.01, allocations: 72.56 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.0101, allocations: 33.47 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.01021, allocations: 106.1 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01021, allocations: 0 / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of Templates: time 0.003427/0.01363, allocations: 2.207 MB / 388.6 MB, free: 13.87 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 240] 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","",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: 3.013364589307457]