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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 193.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008095/0.0008096, allocations: 99.52 kB / 286.7 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1829/0.1829, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.141e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.4965, allocations: 89.39 MB / 0.5918 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4968, allocations: 70.84 kB / 0.5918 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008854/0.5057, allocations: 2.932 MB / 0.5947 GB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5057, allocations: 4 kB / 0.5947 GB, free: 10.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.5057, allocations: 4 kB / 0.5947 GB, free: 10.31 MB / 394.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.0005411/0.5063, allocations: 418.2 kB / 0.5951 GB, free: 9.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5063, allocations: 8.031 kB / 0.5951 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.5065, allocations: 35.8 kB / 0.5951 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.5067, allocations: 206.3 kB / 0.5953 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5067, allocations: 4 kB / 0.5953 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.5067, allocations: 8 kB / 0.5953 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001802/0.5069, allocations: 82.73 kB / 0.5954 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.5072, allocations: 143.5 kB / 0.5956 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5072, allocations: 0 / 0.5956 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.5072, allocations: 0 / 0.5956 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5072, allocations: 8 kB / 0.5956 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.508, allocations: 0.657 MB / 0.5962 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.5082, allocations: 124.8 kB / 0.5963 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.5083, allocations: 44.61 kB / 0.5964 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.5084, allocations: 4 kB / 0.5964 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.5084, allocations: 30.56 kB / 0.5964 GB, free: 8.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.5084, allocations: 4 kB / 0.5964 GB, free: 8.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008062/0.5092, allocations: 295.1 kB / 0.5967 GB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.5092, allocations: 51.41 kB / 0.5967 GB, free: 8.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.5093, allocations: 135.1 kB / 0.5969 GB, free: 8.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.5094, allocations: 25.7 kB / 0.5969 GB, free: 8.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.5094, allocations: 123.9 kB / 0.597 GB, free: 8.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.5095, allocations: 62.45 kB / 0.5971 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.5095, allocations: 0 / 0.5971 GB, free: 7.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.5096, allocations: 326.7 kB / 0.5974 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.5097, allocations: 43.31 kB / 0.5974 GB, free: 7.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.5098, allocations: 86.97 kB / 0.5975 GB, free: 7.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.5099, allocations: 57.69 kB / 0.5976 GB, free: 7.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5099, allocations: 3.953 kB / 0.5976 GB, free: 7.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002389/0.5101, allocations: 160 kB / 0.5977 GB, free: 7.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5102, allocations: 15.94 kB / 0.5977 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5102, allocations: 3.984 kB / 0.5977 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5102, allocations: 0 / 0.5977 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.5105, allocations: 60 kB / 0.5978 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5105, allocations: 4.719 kB / 0.5978 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5107, allocations: 11.98 kB / 0.5978 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.5107, allocations: 11.69 kB / 0.5978 GB, free: 7.285 MB / 394.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 () * 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 7.393e-05/0.5108, allocations: 101 kB / 0.5979 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002383/0.511, allocations: 159.7 kB / 0.5981 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.5111, allocations: 15.81 kB / 0.5981 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.5111, allocations: 28.39 kB / 0.5981 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5111, allocations: 0 / 0.5981 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5111, allocations: 0 / 0.5981 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5111, allocations: 0 / 0.5981 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.5118, allocations: 0.5609 MB / 0.5987 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.5118, allocations: 0 / 0.5987 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.5121, allocations: 47.91 kB / 0.5987 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5121, allocations: 4 kB / 0.5987 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5121, allocations: 7.938 kB / 0.5987 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5121, allocations: 0 / 0.5987 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5121, allocations: 0 / 0.5987 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.5124, allocations: 254.9 kB / 0.599 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.5125, allocations: 110.8 kB / 0.5991 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.5125, allocations: 0 / 0.5991 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.5127, allocations: 11.98 kB / 0.5991 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.5128, allocations: 18.97 kB / 0.5991 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.5128, allocations: 6.688 kB / 0.5991 GB, free: 6.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.5129, allocations: 108.3 kB / 0.5992 GB, free: 5.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5129, allocations: 7.938 kB / 0.5992 GB, free: 5.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.5132, allocations: 32 kB / 0.5992 GB, free: 5.918 MB / 394.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 () * 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.0005523/0.5138, allocations: 0.7836 MB / 0.6 GB, free: 5.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.514, allocations: 124.2 kB / 0.6001 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.514, allocations: 4.125 kB / 0.6001 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.5141, allocations: 75.89 kB / 0.6002 GB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5144, allocations: 23.22 kB / 0.6002 GB, free: 4.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.515, allocations: 261 kB / 0.6005 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.5153, allocations: 0.7286 MB / 0.6012 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.5155, allocations: 29.19 kB / 0.6012 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.5157, allocations: 44.3 kB / 0.6012 GB, free: 3.922 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5157, allocations: 0 / 0.6012 GB, free: 3.922 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.5381, allocations: 2.905 MB / 0.6041 GB, free: 1.039 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.5384, allocations: 135.6 kB / 0.6042 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.137, allocations: 0 / 0.6042 GB, free: 0.8477 MB / 394.7 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat does not exist to compare? outputFormat=mat