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.001105/0.001105, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008451/0.0008451, allocations: 90.45 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.399e-05/4.41e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.0931, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.447, allocations: 90.06 MB / 0.5994 GB, free: 3.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4473, allocations: 65.16 kB / 0.5995 GB, free: 3.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008638/0.4559, allocations: 2.957 MB / 0.6024 GB, free: 1.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4559, allocations: 4 kB / 0.6024 GB, free: 1.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.456, allocations: 0 / 0.6024 GB, free: 1.23 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.000576/0.4565, allocations: 428.5 kB / 0.6028 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4566, allocations: 11.97 kB / 0.6028 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.4567, allocations: 42.06 kB / 0.6028 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.4568, allocations: 27.8 kB / 0.6028 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.4571, allocations: 212.5 kB / 0.603 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4571, allocations: 7 kB / 0.6031 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.4571, allocations: 19.61 kB / 0.6031 GB, free: 444 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.4574, allocations: 149.8 kB / 0.6032 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4574, allocations: 0 / 0.6032 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.4574, allocations: 7.5 kB / 0.6032 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4574, allocations: 0 / 0.6032 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.4576, allocations: 98.8 kB / 0.6033 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.4585, allocations: 0.6911 MB / 0.604 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.4588, allocations: 140.1 kB / 0.6041 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.4589, allocations: 48.05 kB / 0.6042 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.4589, allocations: 3.312 kB / 0.6042 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4589, allocations: 34.56 kB / 0.6042 GB, free: 15.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4589, allocations: 0 / 0.6042 GB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009054/0.4598, allocations: 335.1 kB / 0.6045 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.4599, allocations: 55.41 kB / 0.6046 GB, free: 15.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.46, allocations: 135.1 kB / 0.6047 GB, free: 14.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4601, allocations: 28.89 kB / 0.6047 GB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.4601, allocations: 118.5 kB / 0.6048 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.4602, allocations: 68.88 kB / 0.6049 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.4602, allocations: 7.125 kB / 0.6049 GB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4603, allocations: 329.9 kB / 0.6052 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.4604, allocations: 45.56 kB / 0.6053 GB, free: 14.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4606, allocations: 87.84 kB / 0.6054 GB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.4607, allocations: 61.47 kB / 0.6054 GB, free: 14.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4607, allocations: 0 / 0.6054 GB, free: 14.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002991/0.461, allocations: 192.3 kB / 0.6056 GB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.461, allocations: 4 kB / 0.6056 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.461, allocations: 0 / 0.6056 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.461, allocations: 4 kB / 0.6056 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.4613, allocations: 55.89 kB / 0.6057 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.4613, allocations: 0 / 0.6057 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.4615, allocations: 27.39 kB / 0.6057 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.4615, allocations: 4 kB / 0.6057 GB, free: 14.02 MB / 410.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 9.045e-05/0.4616, allocations: 113.5 kB / 0.6058 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.4617, allocations: 19.77 kB / 0.6058 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.4617, allocations: 24.48 kB / 0.6058 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4617, allocations: 0 / 0.6058 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4618, allocations: 4 kB / 0.6058 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4618, allocations: 4 kB / 0.6059 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.4626, allocations: 0.606 MB / 0.6064 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4626, allocations: 0 / 0.6064 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.4629, allocations: 51.66 kB / 0.6065 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.4629, allocations: 3.984 kB / 0.6065 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.4629, allocations: 3.984 kB / 0.6065 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4629, allocations: 0 / 0.6065 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4629, allocations: 0 / 0.6065 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4633, allocations: 279.1 kB / 0.6068 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.4634, allocations: 103.6 kB / 0.6069 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4634, allocations: 7.312 kB / 0.6069 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.4636, allocations: 19.42 kB / 0.6069 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4637, allocations: 15.28 kB / 0.6069 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4637, allocations: 8 kB / 0.6069 GB, free: 12.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.4638, allocations: 112.5 kB / 0.607 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4638, allocations: 0 / 0.607 GB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.4641, allocations: 43.75 kB / 0.6071 GB, free: 12.71 MB / 410.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.0005877/0.4646, allocations: 0.8004 MB / 0.6078 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.4649, allocations: 138.6 kB / 0.608 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4649, allocations: 0 / 0.608 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.4651, allocations: 80.44 kB / 0.6081 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4653, allocations: 26.98 kB / 0.6081 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.466, allocations: 277.3 kB / 0.6083 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.4663, allocations: 0.7249 MB / 0.6091 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.4665, allocations: 29.19 kB / 0.6091 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4666, allocations: 47.66 kB / 0.6091 GB, free: 10.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4666, allocations: 0 / 0.6091 GB, free: 10.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.4805, allocations: 3.29 MB / 0.6123 GB, free: 7.531 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.4808, allocations: 159.6 kB / 0.6125 GB, free: 7.301 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.975, allocations: 10.06 kB / 0.6125 GB, free: 7.293 MB / 410.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