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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 99.8 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3564/0.3564, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 8 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.5007, allocations: 89.07 MB / 0.5966 GB, free: 6.055 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.501, allocations: 79.88 kB / 0.5967 GB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008303/0.5093, allocations: 2.837 MB / 0.5995 GB, free: 3.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5094, allocations: 0 / 0.5995 GB, free: 3.137 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.5094, allocations: 8 kB / 0.5995 GB, free: 3.129 MB / 410.7 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.0006327/0.51, allocations: 446.7 kB / 0.5999 GB, free: 2.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5101, allocations: 8.031 kB / 0.5999 GB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.5101, allocations: 46.48 kB / 0.6 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.5102, allocations: 15.81 kB / 0.6 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.5104, allocations: 207.4 kB / 0.6002 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.5105, allocations: 8 kB / 0.6002 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.5105, allocations: 15.95 kB / 0.6002 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.5109, allocations: 178.8 kB / 0.6004 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5109, allocations: 0 / 0.6004 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.5109, allocations: 8 kB / 0.6004 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.511, allocations: 0 / 0.6004 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.5113, allocations: 120.6 kB / 0.6005 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.5121, allocations: 0.6883 MB / 0.6012 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.5126, allocations: 158.5 kB / 0.6013 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.5126, allocations: 0 / 0.6013 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5126, allocations: 34.52 kB / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.5126, allocations: 0 / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.00136/0.514, allocations: 444.5 kB / 0.6018 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.5141, allocations: 55.41 kB / 0.6018 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.5142, allocations: 135.4 kB / 0.6019 GB, free: 388 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.5142, allocations: 33.64 kB / 0.602 GB, free: 348 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.5143, allocations: 128.3 kB / 0.6021 GB, free: 216 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.5143, allocations: 59.11 kB / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.5144, allocations: 8 kB / 0.6022 GB, free: 148 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5145, allocations: 318.8 kB / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5147, allocations: 75.95 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5149, allocations: 107.3 kB / 0.6026 GB, free: 15.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.5151, allocations: 90.31 kB / 0.6027 GB, free: 15.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5151, allocations: 0 / 0.6027 GB, free: 15.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004632/0.5156, allocations: 233.3 kB / 0.6029 GB, free: 15.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5156, allocations: 9.406 kB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5156, allocations: 0 / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.5156, allocations: 4 kB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.5159, allocations: 55.86 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.516, allocations: 0 / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.5161, allocations: 24.08 kB / 0.603 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.5162, allocations: 8 kB / 0.603 GB, free: 15.21 MB / 426.7 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.0001188/0.5163, allocations: 126.3 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.5163, allocations: 15.81 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.5164, allocations: 25.17 kB / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5164, allocations: 4 kB / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5164, allocations: 3.953 kB / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5164, allocations: 0 / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.5174, allocations: 0.6503 MB / 0.6038 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5174, allocations: 3.953 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.5177, allocations: 51.91 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5177, allocations: 4 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.5177, allocations: 0 / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5177, allocations: 0 / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5177, allocations: 0 / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.5182, allocations: 317.6 kB / 0.6042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.5184, allocations: 112.9 kB / 0.6043 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.5184, allocations: 7.953 kB / 0.6043 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.5186, allocations: 19.92 kB / 0.6043 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.5187, allocations: 19.97 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.5187, allocations: 4 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.5188, allocations: 120.9 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5188, allocations: 0 / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.5191, allocations: 40 kB / 0.6045 GB, free: 13.61 MB / 426.7 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.0008189/0.5199, allocations: 0.8511 MB / 0.6053 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004617/0.5204, allocations: 195.9 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5204, allocations: 0 / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.5206, allocations: 95.83 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.5209, allocations: 16 kB / 0.6056 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.5229, allocations: 1.567 MB / 0.6072 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5232, allocations: 0.7288 MB / 0.6079 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.5234, allocations: 21.42 kB / 0.6079 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.5236, allocations: 51.47 kB / 0.608 GB, free: 9.98 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5236, allocations: 0 / 0.608 GB, free: 9.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.538, allocations: 3.296 MB / 0.6112 GB, free: 6.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.5382, allocations: 181.3 kB / 0.6113 GB, free: 6.578 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.154, allocations: 2.953 kB / 0.6113 GB, free: 6.578 MB / 426.7 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