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.001416/0.001416, 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.00175/0.00175, 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.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3914, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00379/0.3952, allocations: 2.068 MB / 0.5325 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3965, allocations: 0.6084 MB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.3967, allocations: 2.281 kB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.3969, allocations: 21.09 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3971, allocations: 45.36 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.3976, allocations: 79.03 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.3979, allocations: 183.3 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3981, allocations: 48.28 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3983, allocations: 84.56 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.3985, allocations: 82.36 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.3985, allocations: 13.75 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.3986, allocations: 15.12 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.3986, allocations: 35.97 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.3987, allocations: 83.02 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.399, allocations: 177.8 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.399, allocations: 4 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.399, allocations: 0 / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.3991, allocations: 1.375 kB / 0.534 GB, free: 10.72 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.0008106/0.3999, allocations: 459.2 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3999, allocations: 9.625 kB / 0.5344 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.832e-05/0.4, allocations: 46.86 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4002, allocations: 26.59 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.4005, allocations: 222.7 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4005, allocations: 8.734 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.4005, allocations: 16.19 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.4009, allocations: 174 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4009, allocations: 5.328 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.401, allocations: 9.375 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.401, allocations: 2.75 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.4013, allocations: 116.2 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.4022, allocations: 0.6795 MB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.4026, allocations: 136.2 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4027, allocations: 61.41 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4028, allocations: 1.125 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.4028, allocations: 44.8 kB / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.4028, allocations: 0 / 0.5359 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001368/0.4042, allocations: 407.7 kB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.4043, allocations: 57.84 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.4044, allocations: 151.3 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4045, allocations: 34.98 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.4046, allocations: 117.8 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.4046, allocations: 63.94 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.4047, allocations: 37.48 kB / 0.5367 GB, free: 8.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4048, allocations: 326.8 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.405, allocations: 70.05 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.4053, allocations: 105.1 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.4057, allocations: 172.2 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.4057, allocations: 1.094 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004855/0.4062, allocations: 223.6 kB / 0.5376 GB, free: 7.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4062, allocations: 9.125 kB / 0.5376 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4062, allocations: 1.656 kB / 0.5376 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4062, allocations: 1.562 kB / 0.5376 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.4066, allocations: 53.34 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.4066, allocations: 2 kB / 0.5377 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4067, allocations: 14.17 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4068, allocations: 5.062 kB / 0.5377 GB, free: 7.613 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.0001378/0.4069, allocations: 133.6 kB / 0.5378 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.407, allocations: 15.47 kB / 0.5378 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.407, allocations: 19.84 kB / 0.5378 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.407, allocations: 6.531 kB / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4071, allocations: 0 / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4071, allocations: 1.219 kB / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4082, allocations: 0.6277 MB / 0.5385 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4082, allocations: 0.6562 kB / 0.5385 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.4085, allocations: 39.84 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4085, allocations: 1.125 kB / 0.5385 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.4085, allocations: 4.875 kB / 0.5385 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4085, allocations: 1.125 kB / 0.5385 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4085, allocations: 0 / 0.5385 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.4091, allocations: 311.1 kB / 0.5388 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.4092, allocations: 102.9 kB / 0.5389 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.4092, allocations: 4.938 kB / 0.5389 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.4094, allocations: 19.48 kB / 0.5389 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.4095, allocations: 10.86 kB / 0.5389 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.4095, allocations: 16.2 kB / 0.539 GB, free: 6.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.4096, allocations: 112.7 kB / 0.5391 GB, free: 6.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4096, allocations: 0 / 0.5391 GB, free: 6.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4099, allocations: 35.88 kB / 0.5391 GB, free: 6.434 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.0007802/0.4107, allocations: 0.8409 MB / 0.5399 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004716/0.4112, allocations: 163.3 kB / 0.5401 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4112, allocations: 0 / 0.5401 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.4115, allocations: 96.23 kB / 0.5402 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.4118, allocations: 19.27 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.003009/0.4148, allocations: 2.038 MB / 0.5422 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4152, allocations: 0.7206 MB / 0.5429 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.4154, allocations: 26.2 kB / 0.5429 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4155, allocations: 44.3 kB / 0.5429 GB, free: 3.121 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4155, allocations: 0 / 0.5429 GB, free: 3.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4377, allocations: 3.704 MB / 0.5466 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.649, allocations: 10.7 kB / 0.5466 GB, free: 0.9336 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