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.001423/0.001423, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001153/0.001153, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9318/0.9318, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2616/0.2616, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.543e-06/1.543e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.407e-05, allocations: 6.25 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002702/0.002726, allocations: 2.108 MB / 378.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.003591, allocations: 0.5727 MB / 378.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.003675, allocations: 7.938 kB / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.003779, allocations: 27.72 kB / 378.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.003861, allocations: 35.64 kB / 378.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.004179, allocations: 87.75 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.004363, allocations: 195.1 kB / 379 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.004485, allocations: 33.78 kB / 379.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.004664, allocations: 115.8 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.004779, allocations: 51.88 kB / 379.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.004805, allocations: 16 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.004858, allocations: 16 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.004895, allocations: 47.81 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.00495, allocations: 51.89 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005174, allocations: 135.5 kB / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005176, allocations: 0 / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005178, allocations: 0 / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005183, allocations: 0 / 379.5 MB, free: 1.453 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.0005235/0.005706, allocations: 484.1 kB / 380 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.00574, allocations: 8.031 kB / 380 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.00585, allocations: 40.83 kB / 380 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.00602, allocations: 161 kB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.006031, allocations: 8.609 kB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.006058, allocations: 16.31 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.006277, allocations: 215 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006288, allocations: 3.938 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.006303, allocations: 4 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.006311, allocations: 4 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.006416, allocations: 67.89 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.006985, allocations: 0.7208 MB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.00716, allocations: 107 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.007222, allocations: 39.92 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.007239, allocations: 8 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.007265, allocations: 37.39 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.007266, allocations: 4 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006236/0.00789, allocations: 291.3 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.007918, allocations: 55.41 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.008023, allocations: 208.1 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.00804, allocations: 33.64 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.008099, allocations: 163.2 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.008134, allocations: 71.36 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.008183, allocations: 43.36 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.008288, allocations: 0.5001 MB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.008343, allocations: 27.98 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.008418, allocations: 81.66 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.00855, allocations: 110.6 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.008551, allocations: 0 / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000181/0.008732, allocations: 156 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008747, allocations: 12 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008752, allocations: 0 / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.008766, allocations: 0 / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.008953, allocations: 47.91 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.00896, allocations: 4 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.009019, allocations: 11.98 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.009029, allocations: 4 kB / 383.2 MB, free: 13.49 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.478e-05/0.009104, allocations: 172.5 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.009134, allocations: 19.91 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.009162, allocations: 29.11 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009164, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.009167, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.00917, allocations: 0 / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.00961, allocations: 0.5181 MB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.009612, allocations: 4 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.009721, allocations: 39.92 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.009723, allocations: 0 / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.009739, allocations: 15.92 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.00974, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009741, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.009938, allocations: 293.1 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.009977, allocations: 23.88 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.009998, allocations: 11.94 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.01008, allocations: 11.92 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.01014, allocations: 19.91 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01015, allocations: 8 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.0102, allocations: 154 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0102, allocations: 4 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.01038, allocations: 40 kB / 384.5 MB, free: 12.06 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 8.099e-05/0.01046, allocations: 91.25 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01065, allocations: 109.5 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01065, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.01073, allocations: 67.59 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01095, allocations: 20.19 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.01169, allocations: 362.6 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01173, allocations: 68.58 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.467e-05/0.01182, allocations: 25.48 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.01188, allocations: 24.48 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01188, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.003379/0.01526, allocations: 1.962 MB / 387.2 MB, free: 9.309 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.017044006148353]