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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009171/0.0009171, allocations: 97.55 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009592/0.0009594, allocations: 203.3 kB / 17.9 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 63.46 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003158/0.1454, allocations: 1.685 MB / 483.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.147, allocations: 0.5342 MB / 483.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.1472, allocations: 0 / 483.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.573e-05/0.1474, allocations: 15.91 kB / 483.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1476, allocations: 43.84 kB / 483.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1482, allocations: 59.86 kB / 483.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.1485, allocations: 119.8 kB / 484 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.1487, allocations: 29.53 kB / 484 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.149, allocations: 75.75 kB / 484.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1492, allocations: 71.75 kB / 484.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1492, allocations: 4 kB / 484.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.1493, allocations: 12 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.1494, allocations: 35.83 kB / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.1495, allocations: 49.64 kB / 484.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.1497, allocations: 127.9 kB / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1497, allocations: 0 / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1497, allocations: 0 / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1497, allocations: 0 / 484.4 MB, free: 2.387 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009102/0.1506, allocations: 435 kB / 484.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.1507, allocations: 12.03 kB / 484.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.1508, allocations: 46.55 kB / 484.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.151, allocations: 31.78 kB / 484.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1512, allocations: 206.8 kB / 485.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1513, allocations: 12.17 kB / 485.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1513, allocations: 15.91 kB / 485.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1517, allocations: 165.8 kB / 485.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1517, allocations: 0 / 485.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1517, allocations: 11.94 kB / 485.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1518, allocations: 4 kB / 485.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.1521, allocations: 103.9 kB / 485.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1531, allocations: 0.6924 MB / 486.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.1534, allocations: 142.5 kB / 486.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1535, allocations: 0 / 486.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1535, allocations: 34.56 kB / 486.3 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.21e-07/0.1535, allocations: 4 kB / 486.3 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001452/0.155, allocations: 436.6 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.155, allocations: 51.41 kB / 486.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1552, allocations: 158.1 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1552, allocations: 33.7 kB / 486.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1553, allocations: 120.2 kB / 487 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.149e-05/0.1554, allocations: 59.11 kB / 487.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.1554, allocations: 0 / 487.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1556, allocations: 330.8 kB / 487.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1558, allocations: 68.34 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.156, allocations: 111.1 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1562, allocations: 82.38 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1562, allocations: 0 / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004927/0.1567, allocations: 233.2 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1567, allocations: 4 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1568, allocations: 4 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1568, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.1571, allocations: 51.91 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1571, allocations: 4 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1573, allocations: 20.08 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1573, allocations: 7.938 kB / 488 MB, free: 14.5 MB / 366.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 (22): * Single equations (assignments): 22 * 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.0001246/0.1574, allocations: 129.8 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.1575, allocations: 23.8 kB / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.1575, allocations: 21.19 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1575, allocations: 0 / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.1575, allocations: 0 / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1575, allocations: 0 / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1586, allocations: 0.6344 MB / 488.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1586, allocations: 0 / 488.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.1589, allocations: 51.95 kB / 488.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1589, allocations: 0 / 488.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1589, allocations: 0 / 488.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1589, allocations: 11.94 kB / 488.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1589, allocations: 3.984 kB / 488.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.1594, allocations: 315.1 kB / 489.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.1595, allocations: 104.9 kB / 489.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1596, allocations: 3.984 kB / 489.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.1598, allocations: 19.98 kB / 489.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.1599, allocations: 15.98 kB / 489.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.1599, allocations: 4 kB / 489.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.16, allocations: 107.2 kB / 489.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.16, allocations: 4 kB / 489.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1603, allocations: 40 kB / 489.5 MB, free: 12.93 MB / 366.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 (19): * Single equations (assignments): 19 * 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.0009171/0.1612, allocations: 0.8482 MB / 490.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.1617, allocations: 176 kB / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1617, allocations: 0 / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.162, allocations: 95.89 kB / 490.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.1623, allocations: 14.66 kB / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1646, allocations: 1.53 MB / 492.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.165, allocations: 0.7252 MB / 492.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.1652, allocations: 21.42 kB / 492.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1654, allocations: 47.48 kB / 492.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1654, allocations: 0 / 492.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.1806, allocations: 3.205 MB / 496.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.1808, allocations: 182.3 kB / 496.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.974, allocations: 0 / 496.3 MB, free: 6.051 MB / 366.1 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