Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001572, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3178, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003218/0.3211, allocations: 2.063 MB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3221, allocations: 0.6013 MB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.837e-05/0.3222, allocations: 5.281 kB / 0.5331 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.3223, allocations: 22.34 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3225, allocations: 44.08 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.3228, allocations: 82.61 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3231, allocations: 177.4 kB / 0.5334 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3232, allocations: 45.25 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3234, allocations: 90.75 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3236, allocations: 76.92 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3236, allocations: 14.47 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.753e-05/0.3237, allocations: 15.12 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.3237, allocations: 41.33 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.3238, allocations: 77.66 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3241, allocations: 177.8 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3241, allocations: 0 / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3241, allocations: 9.312 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3241, allocations: 3.938 kB / 0.534 GB, free: 10.73 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.0007717/0.3249, allocations: 463.3 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3249, allocations: 9.625 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.325, allocations: 42.86 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3252, allocations: 26.58 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.3255, allocations: 222.8 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3255, allocations: 4.734 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.3255, allocations: 20.19 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.3259, allocations: 175.4 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3259, allocations: 3.953 kB / 0.5349 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3259, allocations: 1.375 kB / 0.5349 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3259, allocations: 8.125 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.3262, allocations: 114.8 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.3272, allocations: 0.6839 MB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.3275, allocations: 140.1 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.3277, allocations: 65.27 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3277, allocations: 1.156 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3277, allocations: 36.72 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3278, allocations: 0 / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001372/0.3291, allocations: 407.9 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3292, allocations: 56.69 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3293, allocations: 155.4 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3294, allocations: 30.95 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.3294, allocations: 118.5 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.3295, allocations: 66.52 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.3296, allocations: 34.53 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3297, allocations: 329.8 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3299, allocations: 66.66 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3301, allocations: 100.1 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.3305, allocations: 181.4 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3305, allocations: 0 / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004976/0.331, allocations: 216.5 kB / 0.5376 GB, free: 7.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.331, allocations: 7.5 kB / 0.5376 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3311, allocations: 5.094 kB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3311, allocations: 2.438 kB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3314, allocations: 53.19 kB / 0.5377 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3314, allocations: 9.656 kB / 0.5377 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3316, allocations: 10.53 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3316, allocations: 9.547 kB / 0.5377 GB, free: 7.617 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 (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.0001093/0.3317, allocations: 128.4 kB / 0.5378 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3318, allocations: 19.94 kB / 0.5378 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.3318, allocations: 23.45 kB / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3318, allocations: 6.875 kB / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3318, allocations: 0 / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3318, allocations: 3.984 kB / 0.5379 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.3328, allocations: 0.618 MB / 0.5385 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3329, allocations: 0 / 0.5385 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3331, allocations: 47.62 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3331, allocations: 0.8125 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3331, allocations: 0.9688 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3331, allocations: 1.094 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3332, allocations: 4.969 kB / 0.5385 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.3337, allocations: 305.4 kB / 0.5388 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.3338, allocations: 108.1 kB / 0.5389 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.3338, allocations: 5.094 kB / 0.5389 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.334, allocations: 15.3 kB / 0.5389 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3341, allocations: 13.95 kB / 0.5389 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3341, allocations: 8.359 kB / 0.5389 GB, free: 6.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.764e-05/0.3342, allocations: 121.6 kB / 0.5391 GB, free: 6.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.3343, allocations: 0 / 0.5391 GB, free: 6.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3346, allocations: 40.06 kB / 0.5391 GB, free: 6.43 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 (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.0008091/0.3354, allocations: 0.8287 MB / 0.5399 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.3358, allocations: 170.4 kB / 0.5401 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3359, allocations: 5.906 kB / 0.5401 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.3361, allocations: 83.64 kB / 0.5402 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3364, allocations: 27.36 kB / 0.5402 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.3392, allocations: 2.033 MB / 0.5422 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3395, allocations: 0.7205 MB / 0.5429 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.3397, allocations: 30 kB / 0.5429 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3398, allocations: 45.58 kB / 0.5429 GB, free: 3.125 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3398, allocations: 0 / 0.5429 GB, free: 3.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.3604, allocations: 3.69 MB / 0.5466 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.625, allocations: 7.984 kB / 0.5466 GB, free: 0.9609 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches