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.00142/0.00142, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 75.83 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1105, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00372/0.1143, allocations: 2.069 MB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1155, allocations: 0.6077 MB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1156, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1158, allocations: 19.8 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.1159, allocations: 39.64 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.1164, allocations: 83.81 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.1167, allocations: 175.3 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1168, allocations: 52.77 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.117, allocations: 79.77 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1172, allocations: 87.61 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.1173, allocations: 12 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.1173, allocations: 23.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1174, allocations: 35.84 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.1175, allocations: 79.59 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1177, allocations: 179.6 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1178, allocations: 0 / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1178, allocations: 0 / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1178, allocations: 0 / 483.6 MB, free: 1.664 MB / 350.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.0008928/0.1187, allocations: 467.1 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1187, allocations: 8.031 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.1188, allocations: 38.75 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.119, allocations: 28.73 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1193, allocations: 216.2 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1193, allocations: 12.55 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.1193, allocations: 15.94 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1197, allocations: 165.8 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1198, allocations: 3.906 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.1198, allocations: 3.938 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1198, allocations: 4 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.1201, allocations: 107.9 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.1211, allocations: 0.6847 MB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/0.1214, allocations: 138.5 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1216, allocations: 68.77 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1216, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1216, allocations: 34.56 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1216, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001328/0.123, allocations: 407.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.123, allocations: 59.41 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1232, allocations: 154.2 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.1232, allocations: 29.7 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.1233, allocations: 120.2 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/0.1234, allocations: 63.09 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/0.1235, allocations: 37.7 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1236, allocations: 322.8 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1238, allocations: 71.95 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1241, allocations: 91.39 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1245, allocations: 175.3 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1245, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005403/0.125, allocations: 219.7 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1251, allocations: 4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1251, allocations: 4.094 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1251, allocations: 11.92 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.1254, allocations: 55.83 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.1255, allocations: 4 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.1256, allocations: 15.92 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1257, allocations: 8 kB / 487.4 MB, free: 13.61 MB / 366.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.0001321/0.1258, allocations: 125.8 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.1259, allocations: 19.81 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.1259, allocations: 21.19 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.126, allocations: 11.92 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.126, allocations: 0 / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.126, allocations: 0 / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1271, allocations: 0.6123 MB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1271, allocations: 0 / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1274, allocations: 47.91 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1274, allocations: 4 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1274, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1274, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1274, allocations: 3.984 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.128, allocations: 309.3 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.1281, allocations: 104.9 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1281, allocations: 0 / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1283, allocations: 15.98 kB / 488.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.1284, allocations: 23.97 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1284, allocations: 4 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.272e-05/0.1285, allocations: 115.2 kB / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1285, allocations: 0 / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.1288, allocations: 36 kB / 488.9 MB, free: 12.06 MB / 366.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.0008112/0.1296, allocations: 0.8332 MB / 489.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.1302, allocations: 174.6 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1302, allocations: 0 / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.1304, allocations: 96.03 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1308, allocations: 29.53 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.1339, allocations: 2.026 MB / 492 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1343, allocations: 0.7209 MB / 492.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002814/0.1346, allocations: 33.34 kB / 492.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1347, allocations: 47.42 kB / 492.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1348, allocations: 0 / 492.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.1561, allocations: 3.629 MB / 496.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.864, allocations: 7.062 kB / 496.5 MB, free: 4.406 MB / 366.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