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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.6 MB, free: 10.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 105.1 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3113/0.3113, allocations: 44.14 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000988/0.0009881, allocations: 59.91 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2889, allocations: 60.8 MB / 0.5064 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002857/0.2918, allocations: 2.125 MB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.2926, allocations: 0.5296 MB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.2927, allocations: 2.719 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.2928, allocations: 18.44 kB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.2929, allocations: 40.83 kB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.2932, allocations: 56.67 kB / 0.5091 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.2934, allocations: 187 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2935, allocations: 42.19 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2936, allocations: 76.91 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2938, allocations: 80.59 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.2938, allocations: 7.719 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.2938, allocations: 8.156 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.2939, allocations: 35.23 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.2939, allocations: 74.91 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.2941, allocations: 172.7 kB / 0.5097 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2941, allocations: 2.844 kB / 0.5098 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2941, allocations: 0 / 0.5098 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2941, allocations: 0 / 0.5098 GB, free: 36.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007211/0.2948, allocations: 458.1 kB / 0.5102 GB, free: 35.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2949, allocations: 11.62 kB / 0.5102 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.2949, allocations: 21.16 kB / 0.5102 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2951, allocations: 216.1 kB / 0.5104 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2951, allocations: 7.906 kB / 0.5104 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2952, allocations: 19.91 kB / 0.5105 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.2955, allocations: 162.1 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2955, allocations: 10.78 kB / 0.5106 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.2955, allocations: 4 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2955, allocations: 2.875 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2958, allocations: 117.6 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.2965, allocations: 0.6998 MB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.2968, allocations: 152.3 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.297, allocations: 65.53 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.297, allocations: 6.312 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.297, allocations: 37.03 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2971, allocations: 0 / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001187/0.2982, allocations: 406.4 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.2983, allocations: 54.69 kB / 0.5121 GB, free: 34.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.2984, allocations: 157.4 kB / 0.5123 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.2984, allocations: 25.7 kB / 0.5123 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2984, allocations: 124.4 kB / 0.5124 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.2985, allocations: 63.3 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.2986, allocations: 47.84 kB / 0.5125 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.2986, allocations: 332.9 kB / 0.5128 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.2988, allocations: 66.97 kB / 0.5129 GB, free: 33.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.299, allocations: 111.1 kB / 0.513 GB, free: 33.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.2993, allocations: 177.4 kB / 0.5132 GB, free: 33.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2993, allocations: 0 / 0.5132 GB, free: 33.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004245/0.2998, allocations: 224 kB / 0.5134 GB, free: 33.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2998, allocations: 2.906 kB / 0.5134 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2998, allocations: 2.938 kB / 0.5134 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2998, allocations: 0 / 0.5134 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.3001, allocations: 57.25 kB / 0.5134 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3001, allocations: 3.375 kB / 0.5134 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3003, allocations: 14.02 kB / 0.5135 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3003, allocations: 9.281 kB / 0.5135 GB, free: 33.32 MB / 378.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 (23): * Single equations (assignments): 23 * 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.796e-05/0.3004, allocations: 134.3 kB / 0.5136 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3004, allocations: 20.41 kB / 0.5136 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.3005, allocations: 20.09 kB / 0.5136 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3005, allocations: 6.922 kB / 0.5136 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3005, allocations: 0 / 0.5136 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3005, allocations: 3.234 kB / 0.5136 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.3013, allocations: 0.6314 MB / 0.5143 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3014, allocations: 0 / 0.5143 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.3016, allocations: 47.48 kB / 0.5143 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3016, allocations: 5.125 kB / 0.5143 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3017, allocations: 8.062 kB / 0.5143 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3017, allocations: 1.062 kB / 0.5143 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3017, allocations: 5.156 kB / 0.5143 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.3024, allocations: 0.9474 MB / 0.5152 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3025, allocations: 101.5 kB / 0.5153 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3025, allocations: 7.062 kB / 0.5153 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3027, allocations: 12.89 kB / 0.5154 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.3028, allocations: 16.17 kB / 0.5154 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3028, allocations: 11.36 kB / 0.5154 GB, free: 31.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.086e-05/0.3029, allocations: 121.9 kB / 0.5155 GB, free: 31.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3029, allocations: 0 / 0.5155 GB, free: 31.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.3032, allocations: 38.75 kB / 0.5155 GB, free: 31.65 MB / 378.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 (20): * Single equations (assignments): 20 * 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.624e-05/0.3033, allocations: 101.9 kB / 0.5156 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004106/0.3037, allocations: 176.2 kB / 0.5158 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3038, allocations: 0 / 0.5158 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.3039, allocations: 98.75 kB / 0.5159 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3043, allocations: 25.75 kB / 0.5159 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.3049, allocations: 0.589 MB / 0.5165 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3051, allocations: 0.7271 MB / 0.5172 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.3053, allocations: 26.34 kB / 0.5172 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.3054, allocations: 27.53 kB / 0.5173 GB, free: 30.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3054, allocations: 0 / 0.5173 GB, free: 30.29 MB / 378.7 MB Notification: Performance of Templates: time 0.004024/0.3094, allocations: 1.923 MB / 0.5191 GB, free: 30.15 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches