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.000864/0.0008641, allocations: 97.47 kB / 17 MB, free: 6.418 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.0008001/0.0008003, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.379/1.379, allocations: 223.3 MB / 241.9 MB, free: 14.61 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.2063/0.2063, allocations: 44.21 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 61.91 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002103/0.1233, allocations: 1.726 MB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.1241, allocations: 0.5069 MB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.1242, allocations: 3.938 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1243, allocations: 11.91 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.1244, allocations: 39.7 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1247, allocations: 63.8 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.125, allocations: 167.2 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1251, allocations: 37.53 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1252, allocations: 67.77 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1254, allocations: 75.67 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1254, allocations: 8 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.468e-05/0.1254, allocations: 4 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.1255, allocations: 35.89 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1255, allocations: 49.64 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1257, allocations: 131.9 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1257, allocations: 0 / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1257, allocations: 3.938 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1257, allocations: 0 / 474.6 MB, free: 10.67 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.0007005/0.1264, allocations: 446.7 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1265, allocations: 12.02 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.1265, allocations: 42.56 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.1266, allocations: 15.81 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1268, allocations: 203.4 kB / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1268, allocations: 12 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1269, allocations: 15.95 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1272, allocations: 165.6 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1273, allocations: 0 / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.1273, allocations: 4 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1273, allocations: 7.938 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1276, allocations: 116.6 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.1285, allocations: 0.7054 MB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1288, allocations: 154.5 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.129, allocations: 64.83 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.129, allocations: 7.953 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1291, allocations: 34.56 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1291, allocations: 0 / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001225/0.1303, allocations: 446.8 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1303, allocations: 59.34 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1305, allocations: 150.2 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1305, allocations: 33.7 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.1306, allocations: 116.4 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.1306, allocations: 67 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.1307, allocations: 7.938 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.1308, allocations: 326.8 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.131, allocations: 71.95 kB / 477.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1312, allocations: 107.4 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1314, allocations: 79.98 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1314, allocations: 3.984 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000449/0.1318, allocations: 235.7 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1318, allocations: 11.98 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1319, allocations: 0 / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1319, allocations: 3.953 kB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1321, allocations: 52.06 kB / 478.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1322, allocations: 4 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1323, allocations: 19.98 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1323, allocations: 8 kB / 478.3 MB, free: 6.664 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.0001012/0.1324, allocations: 131.1 kB / 478.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.1325, allocations: 19.8 kB / 478.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.139e-05/0.1325, allocations: 17.19 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1326, allocations: 15.89 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1326, allocations: 0 / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1326, allocations: 0 / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.1335, allocations: 0.6472 MB / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1335, allocations: 0 / 479.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.1337, allocations: 47.97 kB / 479.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1337, allocations: 8 kB / 479.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1338, allocations: 4 kB / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1338, allocations: 0 / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1338, allocations: 0 / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.1342, allocations: 325.9 kB / 479.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.1343, allocations: 104.9 kB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1344, allocations: 4 kB / 479.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1346, allocations: 19.98 kB / 479.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.1346, allocations: 15.97 kB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1347, allocations: 8 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.1348, allocations: 123.1 kB / 479.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 479.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.135, allocations: 40 kB / 479.8 MB, free: 5.047 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.0007651/0.1358, allocations: 0.8489 MB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.1362, allocations: 187.8 kB / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1362, allocations: 0 / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.1365, allocations: 93.62 kB / 480.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1368, allocations: 31.88 kB / 481 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1386, allocations: 1.095 MB / 482.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1389, allocations: 0.7288 MB / 482.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.1391, allocations: 29.41 kB / 482.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1392, allocations: 47.48 kB / 482.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1392, allocations: 0 / 482.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.1531, allocations: 3.325 MB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.1533, allocations: 185 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.966, allocations: 4.062 kB / 486.4 MB, free: 14.45 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