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.0009305/0.0009305, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.0009679/0.0009683, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.23 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003675, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002119/0.1194, allocations: 1.684 MB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.1202, allocations: 0.4992 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.791e-05/0.1203, allocations: 3.938 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.1203, allocations: 7.922 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.1204, allocations: 51.83 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1208, allocations: 59.91 kB / 473.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.121, allocations: 127.6 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1211, allocations: 37.47 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.1213, allocations: 75.75 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1214, allocations: 67.69 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1214, allocations: 8 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.1215, allocations: 12 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.1215, allocations: 23.91 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.1216, allocations: 53.62 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1217, allocations: 135.8 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1217, allocations: 4 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.148e-05/0.1217, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.1218, allocations: 3.938 kB / 474.4 MB, free: 10.79 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000681/0.1224, allocations: 442.7 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1225, allocations: 8.031 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.1225, allocations: 42.55 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1226, allocations: 19.81 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1228, allocations: 207.4 kB / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1228, allocations: 8 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1229, allocations: 15.95 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.1232, allocations: 165.6 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1232, allocations: 0 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1232, allocations: 7.984 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1232, allocations: 4 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1236, allocations: 120.6 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008801/0.1244, allocations: 0.6937 MB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.1248, allocations: 158.5 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1249, allocations: 4 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1249, allocations: 42.5 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/0.1249, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001307/0.1262, allocations: 448.3 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1263, allocations: 51.41 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.1264, allocations: 154.2 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1264, allocations: 37.64 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.1265, allocations: 112.4 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1266, allocations: 71 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1266, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1267, allocations: 326.8 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1269, allocations: 75.95 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.1271, allocations: 103.3 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1273, allocations: 90.14 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1273, allocations: 0 / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004679/0.1278, allocations: 233.3 kB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1278, allocations: 8 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1278, allocations: 3.938 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1278, allocations: 3.953 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.1281, allocations: 55.95 kB / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1281, allocations: 0 / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1283, allocations: 24.08 kB / 478 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1283, allocations: 8 kB / 478.1 MB, free: 6.848 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.1285, allocations: 130.2 kB / 478.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.1285, allocations: 15.81 kB / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1286, allocations: 21.19 kB / 478.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1286, allocations: 11.98 kB / 478.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1286, allocations: 3.953 kB / 478.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1286, allocations: 4 kB / 478.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009512/0.1296, allocations: 0.6421 MB / 478.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1296, allocations: 0 / 478.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.1298, allocations: 47.95 kB / 478.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1298, allocations: 4 kB / 478.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.1299, allocations: 8 kB / 478.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1299, allocations: 0 / 478.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1299, allocations: 0 / 478.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.1304, allocations: 319.2 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.1305, allocations: 104.9 kB / 479.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.1305, allocations: 7.953 kB / 479.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1307, allocations: 19.98 kB / 479.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.1308, allocations: 11.98 kB / 479.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1308, allocations: 7.984 kB / 479.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.789e-05/0.1309, allocations: 128 kB / 479.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1309, allocations: 0 / 479.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1312, allocations: 40 kB / 479.6 MB, free: 5.234 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008168/0.132, allocations: 0.8473 MB / 480.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.1325, allocations: 188 kB / 480.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1325, allocations: 0 / 480.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.1327, allocations: 99.81 kB / 480.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1329, allocations: 23.89 kB / 480.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.1349, allocations: 1.553 MB / 482.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1351, allocations: 0.7249 MB / 483 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.1353, allocations: 33.41 kB / 483 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1355, allocations: 43.48 kB / 483.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1355, allocations: 0 / 483.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1491, allocations: 3.298 MB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.1493, allocations: 176.8 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/1.912, allocations: 4.062 kB / 486.5 MB, free: 14.21 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat does not exist to compare? outputFormat=mat