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.002141/0.00214, allocations: 202.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 99.53 kB / 297.2 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4008/0.4008, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004732, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4726, allocations: 63.23 MB / 0.5193 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.6069, allocations: 90.13 MB / 0.6073 GB, free: 15.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6072, allocations: 75.94 kB / 0.6073 GB, free: 15.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009571/0.6168, allocations: 2.969 MB / 0.6102 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6168, allocations: 0 / 0.6102 GB, free: 12.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.6169, allocations: 4 kB / 0.6103 GB, free: 12.46 MB / 426.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.0006994/0.6176, allocations: 442.8 kB / 0.6107 GB, free: 11.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6176, allocations: 8.031 kB / 0.6107 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.6177, allocations: 46.55 kB / 0.6107 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.6179, allocations: 27.8 kB / 0.6108 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.6182, allocations: 212.8 kB / 0.611 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.6182, allocations: 10.5 kB / 0.611 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.6183, allocations: 12 kB / 0.611 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.6186, allocations: 164.6 kB / 0.6111 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6186, allocations: 3.938 kB / 0.6111 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.6187, allocations: 8 kB / 0.6111 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6187, allocations: 4 kB / 0.6111 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.619, allocations: 112.6 kB / 0.6113 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.6201, allocations: 0.696 MB / 0.6119 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.6205, allocations: 154.5 kB / 0.6121 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.6206, allocations: 0 / 0.6121 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.6206, allocations: 34.56 kB / 0.6121 GB, free: 10.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.6206, allocations: 4 kB / 0.6121 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001453/0.6221, allocations: 449 kB / 0.6125 GB, free: 9.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.6221, allocations: 55.41 kB / 0.6126 GB, free: 9.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.6223, allocations: 133.4 kB / 0.6127 GB, free: 9.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.6223, allocations: 33.7 kB / 0.6128 GB, free: 9.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.6224, allocations: 120.3 kB / 0.6129 GB, free: 9.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.6225, allocations: 67.03 kB / 0.6129 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.6225, allocations: 0 / 0.6129 GB, free: 9.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6226, allocations: 326.8 kB / 0.6133 GB, free: 9.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.6228, allocations: 71.95 kB / 0.6133 GB, free: 9.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.623, allocations: 104.3 kB / 0.6134 GB, free: 8.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.6233, allocations: 94.5 kB / 0.6135 GB, free: 8.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6233, allocations: 0 / 0.6135 GB, free: 8.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005169/0.6238, allocations: 237.2 kB / 0.6137 GB, free: 8.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6238, allocations: 4 kB / 0.6137 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6238, allocations: 0 / 0.6137 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6239, allocations: 7.938 kB / 0.6137 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.6242, allocations: 55.89 kB / 0.6138 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6242, allocations: 0 / 0.6138 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.6244, allocations: 24.08 kB / 0.6138 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.6244, allocations: 7.984 kB / 0.6138 GB, free: 8.543 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.0001246/0.6245, allocations: 125.8 kB / 0.614 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.6246, allocations: 19.77 kB / 0.614 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.6247, allocations: 21.19 kB / 0.614 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6247, allocations: 0 / 0.614 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6247, allocations: 0 / 0.614 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6247, allocations: 3.984 kB / 0.614 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6257, allocations: 0.6512 MB / 0.6146 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6258, allocations: 0 / 0.6146 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.626, allocations: 47.97 kB / 0.6147 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6261, allocations: 0 / 0.6147 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.6261, allocations: 7.984 kB / 0.6147 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.6261, allocations: 3.938 kB / 0.6147 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6261, allocations: 7.938 kB / 0.6147 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.6266, allocations: 321.5 kB / 0.615 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.6268, allocations: 108.9 kB / 0.6151 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.6268, allocations: 0 / 0.6151 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.627, allocations: 19.98 kB / 0.6151 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.6271, allocations: 11.98 kB / 0.6151 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6271, allocations: 7.984 kB / 0.6151 GB, free: 7.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.6272, allocations: 113 kB / 0.6153 GB, free: 6.984 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6272, allocations: 0 / 0.6153 GB, free: 6.984 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.6276, allocations: 47.98 kB / 0.6153 GB, free: 6.938 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.0008085/0.6284, allocations: 0.8503 MB / 0.6161 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.6289, allocations: 184 kB / 0.6163 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6289, allocations: 0 / 0.6163 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.6291, allocations: 102.1 kB / 0.6164 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.6294, allocations: 23.92 kB / 0.6164 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.6317, allocations: 1.556 MB / 0.6179 GB, free: 4.145 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.632, allocations: 0.7249 MB / 0.6187 GB, free: 3.395 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.6322, allocations: 37.34 kB / 0.6187 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.6323, allocations: 47.42 kB / 0.6187 GB, free: 3.309 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.6323, allocations: 0 / 0.6187 GB, free: 3.309 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.649, allocations: 3.299 MB / 0.622 GB, free: 192 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.6493, allocations: 173.9 kB / 0.6221 GB, free: 15.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.393, allocations: 3.938 kB / 0.6221 GB, free: 15.95 MB / 442.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