Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001688/0.001688, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002059/0.002059, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2263/0.2263, allocations: 46.96 MB / 361.6 MB, free: 4.133 MB / 286.1 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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003431/0.3105, allocations: 2.005 MB / 0.5638 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3116, allocations: 0.5699 MB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.3117, allocations: 0 / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.3118, allocations: 23.78 kB / 0.5644 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3119, allocations: 35.64 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.3123, allocations: 87.83 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.3125, allocations: 187.3 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3127, allocations: 33.72 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.3128, allocations: 91.69 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.313, allocations: 75.69 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.313, allocations: 12 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.3131, allocations: 20 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.3131, allocations: 39.83 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.3132, allocations: 63.72 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3135, allocations: 185.8 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3135, allocations: 4 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3135, allocations: 0 / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3135, allocations: 0 / 0.5652 GB, free: 0.7539 MB / 398.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.0008088/0.3143, allocations: 377.8 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3143, allocations: 12.03 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.3145, allocations: 24.83 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3148, allocations: 173.8 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3148, allocations: 8.609 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.3148, allocations: 16.12 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.3152, allocations: 213.2 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3152, allocations: 7.891 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3153, allocations: 7.938 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3153, allocations: 4 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.3156, allocations: 103.9 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.3165, allocations: 0.6019 MB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.3168, allocations: 126.5 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.317, allocations: 56.83 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.317, allocations: 0 / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3171, allocations: 42.5 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.3171, allocations: 4 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001457/0.3185, allocations: 408.7 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3186, allocations: 55.41 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3187, allocations: 149.9 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3187, allocations: 29.7 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.3188, allocations: 120.4 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.3189, allocations: 67.42 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.319, allocations: 45.66 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3191, allocations: 322.8 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3193, allocations: 67.95 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.3195, allocations: 95.39 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.3199, allocations: 173.7 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3199, allocations: 4 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005098/0.3205, allocations: 225.3 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3205, allocations: 8 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3205, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3205, allocations: 0 / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.3208, allocations: 51.95 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3208, allocations: 0 / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.321, allocations: 19.92 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.321, allocations: 4 kB / 0.5686 GB, free: 12.97 MB / 414.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.0001253/0.3212, allocations: 133.9 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3212, allocations: 15.91 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.3213, allocations: 21.11 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3213, allocations: 4 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3213, allocations: 0 / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3213, allocations: 3.938 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.3223, allocations: 0.5315 MB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3223, allocations: 3.938 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.3225, allocations: 43.97 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3225, allocations: 0 / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3226, allocations: 7.922 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3226, allocations: 4 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3226, allocations: 0 / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.3231, allocations: 307.8 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.3232, allocations: 31.83 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3232, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.3234, allocations: 15.98 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.3235, allocations: 15.97 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3235, allocations: 7.984 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.3236, allocations: 111.3 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3236, allocations: 0 / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3239, allocations: 36 kB / 0.5699 GB, free: 11.62 MB / 414.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.0001162/0.324, allocations: 103.2 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.3245, allocations: 166.2 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3245, allocations: 0 / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.3247, allocations: 79.89 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.325, allocations: 28.11 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.3258, allocations: 361.9 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3259, allocations: 108 kB / 0.5707 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.326, allocations: 33.41 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.3261, allocations: 19.42 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3261, allocations: 0 / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Templates: time 0.005513/0.3316, allocations: 2.147 MB / 0.5728 GB, free: 8.566 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0955142290040385]