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.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002944/0.3692, allocations: 2.071 MB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.37, allocations: 0.5343 MB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3702, allocations: 2.469 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3703, allocations: 23.16 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3704, allocations: 42.73 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.3708, allocations: 74.98 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.371, allocations: 185.9 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3712, allocations: 41.03 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3713, allocations: 89.53 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3715, allocations: 86.97 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.3715, allocations: 13.66 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.3716, allocations: 14.94 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.3716, allocations: 36.97 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.3717, allocations: 75.78 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.372, allocations: 189 kB / 0.5218 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.372, allocations: 0 / 0.5218 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.372, allocations: 0 / 0.5218 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.372, allocations: 3.938 kB / 0.5218 GB, free: 1.066 MB / 382.1 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.0007511/0.3728, allocations: 470.9 kB / 0.5223 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3728, allocations: 14.09 kB / 0.5223 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.3729, allocations: 45.64 kB / 0.5223 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.373, allocations: 17.22 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3732, allocations: 209 kB / 0.5225 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3732, allocations: 9.781 kB / 0.5225 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.3732, allocations: 15.81 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3736, allocations: 163.1 kB / 0.5227 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3736, allocations: 1.812 kB / 0.5227 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.3736, allocations: 6.562 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3736, allocations: 3.094 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.3739, allocations: 114.7 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.3749, allocations: 0.6958 MB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.3753, allocations: 157.1 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3755, allocations: 68.5 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3755, allocations: 2.625 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3755, allocations: 30.56 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3755, allocations: 0 / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001427/0.377, allocations: 420.1 kB / 0.5242 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.377, allocations: 58.52 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3772, allocations: 154.5 kB / 0.5244 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.3772, allocations: 30.86 kB / 0.5244 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.3773, allocations: 122.5 kB / 0.5245 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.3774, allocations: 78.12 kB / 0.5246 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/0.3775, allocations: 38 kB / 0.5246 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3777, allocations: 327.4 kB / 0.5249 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.3779, allocations: 71.58 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.3781, allocations: 98.83 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.3786, allocations: 179 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3786, allocations: 1.969 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005151/0.3791, allocations: 223.6 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3791, allocations: 5.375 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3791, allocations: 0 / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3792, allocations: 3.562 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3795, allocations: 54.59 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3795, allocations: 7.609 kB / 0.5256 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.3796, allocations: 9.109 kB / 0.5256 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3797, allocations: 10.3 kB / 0.5256 GB, free: 14.28 MB / 398.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 (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 0.0001294/0.3798, allocations: 131.7 kB / 0.5257 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.3799, allocations: 18.03 kB / 0.5257 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.3799, allocations: 25.94 kB / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3799, allocations: 3.875 kB / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3799, allocations: 0 / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3799, allocations: 5.359 kB / 0.5258 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3811, allocations: 0.6247 MB / 0.5264 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3811, allocations: 0.6094 kB / 0.5264 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.3813, allocations: 45.61 kB / 0.5264 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3814, allocations: 10.02 kB / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3814, allocations: 5.938 kB / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3814, allocations: 1.375 kB / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3814, allocations: 0 / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.3819, allocations: 300.2 kB / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3821, allocations: 113.7 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.3821, allocations: 5.375 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3823, allocations: 12.38 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.3824, allocations: 20.81 kB / 0.5269 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3824, allocations: 5.438 kB / 0.5269 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3825, allocations: 119.2 kB / 0.527 GB, free: 13.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3825, allocations: 0 / 0.527 GB, free: 13.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.3828, allocations: 38.38 kB / 0.527 GB, free: 13.23 MB / 398.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 (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 0.000924/0.3837, allocations: 0.8446 MB / 0.5278 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3843, allocations: 181.4 kB / 0.528 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3843, allocations: 0 / 0.528 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.3845, allocations: 90.47 kB / 0.5281 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.3849, allocations: 18.95 kB / 0.5281 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.3879, allocations: 2.064 MB / 0.5301 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3883, allocations: 0.7168 MB / 0.5308 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.3885, allocations: 38.55 kB / 0.5309 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3887, allocations: 49.02 kB / 0.5309 GB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3887, allocations: 0 / 0.5309 GB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4154, allocations: 3.787 MB / 0.5346 GB, free: 8.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.842, allocations: 4.156 kB / 0.5346 GB, free: 8.098 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches