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.00129/0.00129, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001303/0.001303, allocations: 183 kB / 18.72 MB, free: 4.332 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.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2223/0.2223, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003251/0.3483, allocations: 2.076 MB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.3493, allocations: 0.5418 MB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.3495, allocations: 1.25 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3496, allocations: 20.22 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3498, allocations: 42.2 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.3502, allocations: 74.81 kB / 0.5211 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.3505, allocations: 194.1 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3506, allocations: 29.78 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3508, allocations: 85.52 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.351, allocations: 87.02 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.351, allocations: 13.62 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.351, allocations: 13.84 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.3511, allocations: 42.03 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.3512, allocations: 76.41 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.3515, allocations: 188.4 kB / 0.5218 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3515, allocations: 0 / 0.5218 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3515, allocations: 0 / 0.5218 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3515, allocations: 1.031 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.0007777/0.3522, allocations: 469.8 kB / 0.5223 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3523, allocations: 9.375 kB / 0.5223 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.3523, allocations: 47.16 kB / 0.5223 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.3524, allocations: 17.55 kB / 0.5223 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3527, allocations: 213.9 kB / 0.5225 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3527, allocations: 6.453 kB / 0.5225 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.3528, allocations: 15.97 kB / 0.5226 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.3531, allocations: 167.2 kB / 0.5227 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3532, allocations: 2.062 kB / 0.5227 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3532, allocations: 5.844 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3532, allocations: 2.938 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.3535, allocations: 116.3 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.3545, allocations: 0.6902 MB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.355, allocations: 146 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3551, allocations: 63.52 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3552, allocations: 1.219 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.3552, allocations: 36.45 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.3552, allocations: 1.125 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.00152/0.3567, allocations: 431.9 kB / 0.5242 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3568, allocations: 54.14 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3569, allocations: 154.5 kB / 0.5244 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.357, allocations: 31.42 kB / 0.5244 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.3571, allocations: 118.4 kB / 0.5245 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.3571, allocations: 75.45 kB / 0.5246 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.3572, allocations: 37.08 kB / 0.5246 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3574, allocations: 333.6 kB / 0.5249 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.3576, allocations: 68.56 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3578, allocations: 99.03 kB / 0.5251 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.3583, allocations: 176.7 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3583, allocations: 0 / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005628/0.3588, allocations: 229.8 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3589, allocations: 6.969 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3589, allocations: 1.312 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3589, allocations: 1.625 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.3592, allocations: 52.53 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3592, allocations: 1.812 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3594, allocations: 15.41 kB / 0.5256 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3594, allocations: 8.891 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.0001566/0.3596, allocations: 133.3 kB / 0.5257 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.3596, allocations: 15.56 kB / 0.5257 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.3597, allocations: 22.17 kB / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3597, allocations: 2.312 kB / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3597, allocations: 2.25 kB / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3597, allocations: 1.219 kB / 0.5257 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3609, allocations: 0.6233 MB / 0.5263 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3609, allocations: 4 kB / 0.5263 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3611, allocations: 46.16 kB / 0.5264 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.3612, allocations: 5.875 kB / 0.5264 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3612, allocations: 4.844 kB / 0.5264 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3612, allocations: 1.375 kB / 0.5264 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3612, allocations: 4 kB / 0.5264 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.3618, allocations: 310.2 kB / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3619, allocations: 106.4 kB / 0.5268 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.3619, allocations: 5.984 kB / 0.5268 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.3622, allocations: 18.48 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.3622, allocations: 12.69 kB / 0.5268 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3623, allocations: 9.672 kB / 0.5268 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3624, allocations: 115 kB / 0.527 GB, free: 13.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 1.375 kB / 0.527 GB, free: 13.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3627, allocations: 41 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.0009744/0.3636, allocations: 0.8455 MB / 0.5278 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.3642, allocations: 173.7 kB / 0.528 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3642, allocations: 4.188 kB / 0.528 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.3644, allocations: 86.48 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.0004214/0.3649, allocations: 19.42 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.003282/0.3681, allocations: 2.068 MB / 0.5301 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.3685, allocations: 0.7202 MB / 0.5308 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.3687, allocations: 29.78 kB / 0.5308 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3688, allocations: 45.48 kB / 0.5309 GB, free: 10.05 MB / 398.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3688, allocations: 0 / 0.5309 GB, free: 10.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.3989, allocations: 3.801 MB / 0.5346 GB, free: 8.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.586/8.985, allocations: 7.5 kB / 0.5346 GB, free: 8.086 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