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.0009382/0.0009382, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009182/0.0009182, allocations: 161.4 kB / 24.56 MB, free: 12 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 1.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.617 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.2612/0.2612, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.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.573e-06/1.573e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.624e-05, allocations: 2.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002273/0.002289, allocations: 2.113 MB / 378.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.003048, allocations: 0.5805 MB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.003125, allocations: 3.938 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.003227, allocations: 27.78 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.003304, allocations: 39.58 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.003603, allocations: 79.81 kB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.003782, allocations: 191.2 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003899, allocations: 33.72 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.004077, allocations: 111.8 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.004484, allocations: 71.78 kB / 379.3 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.004511, allocations: 12 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.00456, allocations: 20 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.004589, allocations: 35.89 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.004638, allocations: 51.84 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.004826, allocations: 123.6 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004828, allocations: 0 / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004829, allocations: 0 / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004833, allocations: 0 / 379.5 MB, free: 1.16 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005279/0.005361, allocations: 500 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005398, allocations: 12.03 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.005513, allocations: 32.83 kB / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.005698, allocations: 153 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.005709, allocations: 8.609 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.005741, allocations: 12.38 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.005978, allocations: 218.9 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.005989, allocations: 7.938 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.006005, allocations: 4 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006013, allocations: 7.938 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.00612, allocations: 63.89 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.006715, allocations: 0.7169 MB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.006874, allocations: 107.1 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.006931, allocations: 47.86 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.006949, allocations: 8 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.00697, allocations: 33.39 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.006971, allocations: 0 / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006176/0.007589, allocations: 296.8 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.007615, allocations: 55.41 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007719, allocations: 200.1 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.007737, allocations: 37.64 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.007804, allocations: 167.2 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.007843, allocations: 67.38 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.007895, allocations: 43.36 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.008008, allocations: 0.4923 MB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.008067, allocations: 31.97 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.008144, allocations: 81.66 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.008278, allocations: 117.2 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.00828, allocations: 4 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001922/0.008472, allocations: 149.5 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.008486, allocations: 4 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.008495, allocations: 7.984 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.00851, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.008672, allocations: 51.89 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008677, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.008738, allocations: 12 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.008749, allocations: 8.094 kB / 383.2 MB, free: 13.18 MB / 362.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 7.868e-05/0.008828, allocations: 172.5 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.008863, allocations: 19.91 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.008897, allocations: 25.11 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.0089, allocations: 7.938 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.008904, allocations: 0 / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.008907, allocations: 0 / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.009369, allocations: 0.5165 MB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009371, allocations: 4 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.009482, allocations: 39.91 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.009485, allocations: 4 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.009498, allocations: 7.938 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009501, allocations: 4 kB / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009501, allocations: 0 / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.009702, allocations: 291.8 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.009743, allocations: 23.89 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.00976, allocations: 7.938 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.009846, allocations: 19.98 kB / 384.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.009901, allocations: 19.91 kB / 384.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.009911, allocations: 4 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.009965, allocations: 150 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009965, allocations: 0 / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.01014, allocations: 40 kB / 384.5 MB, free: 11.77 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 (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 6.583e-05/0.0102, allocations: 91.25 kB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.01039, allocations: 113.1 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01039, allocations: 192 / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.01046, allocations: 71.59 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01068, allocations: 19.98 kB / 384.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.01147, allocations: 358.6 kB / 385.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.01152, allocations: 76.56 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.526e-05/0.01161, allocations: 29.47 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.01168, allocations: 16.5 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01168, allocations: 0 / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003684/0.01536, allocations: 1.961 MB / 387.3 MB, free: 9.008 MB / 362.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.1079748971387744]