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.001037/0.001037, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002698, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1366, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002215/0.1389, allocations: 1.724 MB / 483.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.1397, allocations: 0.5381 MB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.1398, allocations: 3.938 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.1399, allocations: 15.91 kB / 483.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.14, allocations: 35.7 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1404, allocations: 55.92 kB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1406, allocations: 163.3 kB / 484.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1407, allocations: 37.52 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1409, allocations: 71.77 kB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.141, allocations: 67.75 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.141, allocations: 11.94 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-05/0.1411, allocations: 11.98 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.1411, allocations: 27.89 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1412, allocations: 53.64 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.1413, allocations: 127.9 kB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1413, allocations: 0 / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1414, allocations: 3.938 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1414, allocations: 0 / 484.6 MB, free: 2.316 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.000684/0.1421, allocations: 439 kB / 485 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1421, allocations: 8.031 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1422, allocations: 42.56 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.1423, allocations: 27.8 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1425, allocations: 205.6 kB / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1426, allocations: 12.23 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1426, allocations: 15.91 kB / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.1429, allocations: 169.7 kB / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.143, allocations: 0 / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.143, allocations: 8 kB / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.143, allocations: 0 / 485.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.1433, allocations: 107.9 kB / 485.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.1441, allocations: 0.6963 MB / 486.3 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1444, allocations: 138.6 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1446, allocations: 60.77 kB / 486.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1446, allocations: 12 kB / 486.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1446, allocations: 30.56 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.1446, allocations: 0 / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001243/0.1459, allocations: 432.6 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1459, allocations: 55.41 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1461, allocations: 158.1 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1461, allocations: 25.7 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1462, allocations: 124.2 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1462, allocations: 63.09 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.1462, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1463, allocations: 334.8 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1465, allocations: 68.34 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.1467, allocations: 107.1 kB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1469, allocations: 87.84 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1469, allocations: 0 / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000446/0.1474, allocations: 231.7 kB / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1474, allocations: 8 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1474, allocations: 0 / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1475, allocations: 4 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.1477, allocations: 52 kB / 488.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1478, allocations: 4 kB / 488.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1479, allocations: 15.98 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1479, allocations: 8 kB / 488.3 MB, free: 14.38 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.0001085/0.1481, allocations: 129.7 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.1481, allocations: 19.8 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.1482, allocations: 21.19 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1482, allocations: 11.98 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1482, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1482, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000906/0.1491, allocations: 0.624 MB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1491, allocations: 0 / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.1493, allocations: 51.89 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1494, allocations: 4 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1494, allocations: 4 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1494, allocations: 4 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1494, allocations: 0 / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.1499, allocations: 317.4 kB / 489.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.15, allocations: 104.9 kB / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.15, allocations: 4 kB / 489.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.1502, allocations: 15.98 kB / 489.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.1502, allocations: 15.98 kB / 489.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1503, allocations: 11.94 kB / 489.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.1503, allocations: 111.2 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1504, allocations: 0 / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1506, allocations: 40 kB / 489.7 MB, free: 12.8 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.0007308/0.1514, allocations: 0.8377 MB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.1518, allocations: 190.3 kB / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1518, allocations: 0 / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.152, allocations: 100 kB / 490.8 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1523, allocations: 18.81 kB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1541, allocations: 1.074 MB / 491.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1543, allocations: 0.7213 MB / 492.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.1545, allocations: 25.41 kB / 492.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.1546, allocations: 47.48 kB / 492.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1547, allocations: 0 / 492.7 MB, free: 9.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1677, allocations: 3.228 MB / 496 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.168, allocations: 179.5 kB / 496.1 MB, free: 6.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.012, allocations: 4 kB / 496.1 MB, free: 6.355 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