Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 167.8 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 96.58 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.991e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5851, allocations: 88.33 MB / 0.581 GB, free: 8.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5854, allocations: 71.95 kB / 0.5811 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008485/0.5939, allocations: 2.824 MB / 0.5838 GB, free: 5.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5939, allocations: 0 / 0.5838 GB, free: 5.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.5939, allocations: 4 kB / 0.5839 GB, free: 5.156 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.0005666/0.5945, allocations: 426.1 kB / 0.5843 GB, free: 4.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5946, allocations: 15.98 kB / 0.5843 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.5946, allocations: 15.81 kB / 0.5843 GB, free: 4.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.5949, allocations: 199.4 kB / 0.5845 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5949, allocations: 4 kB / 0.5845 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.5949, allocations: 11.95 kB / 0.5845 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001955/0.5951, allocations: 84.48 kB / 0.5846 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.5954, allocations: 141.9 kB / 0.5847 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5954, allocations: 0 / 0.5847 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.5954, allocations: 0 / 0.5847 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5954, allocations: 4 kB / 0.5847 GB, free: 4.168 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.5963, allocations: 0.6624 MB / 0.5854 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.5966, allocations: 126.6 kB / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.5967, allocations: 48.86 kB / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.5967, allocations: 0 / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5968, allocations: 38.17 kB / 0.5856 GB, free: 3.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.103e-06/0.5968, allocations: 4 kB / 0.5856 GB, free: 3.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009733/0.5977, allocations: 298.2 kB / 0.5859 GB, free: 2.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5978, allocations: 59.36 kB / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.5979, allocations: 130.8 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.598, allocations: 25.7 kB / 0.5861 GB, free: 2.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.5981, allocations: 116.3 kB / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.5981, allocations: 63.77 kB / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.5981, allocations: 0 / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5983, allocations: 330.8 kB / 0.5865 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.5984, allocations: 43.98 kB / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5985, allocations: 82.75 kB / 0.5867 GB, free: 2.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.5986, allocations: 51.97 kB / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5986, allocations: 0 / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002825/0.5989, allocations: 167.4 kB / 0.5869 GB, free: 1.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5989, allocations: 15.92 kB / 0.5869 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.599, allocations: 0 / 0.5869 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.599, allocations: 4 kB / 0.5869 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.5993, allocations: 51.91 kB / 0.5869 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5993, allocations: 0 / 0.5869 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.5995, allocations: 28.03 kB / 0.587 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5995, allocations: 8 kB / 0.587 GB, free: 1.723 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 9.746e-05/0.5996, allocations: 108.9 kB / 0.5871 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002733/0.5999, allocations: 157.4 kB / 0.5872 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.5999, allocations: 15.81 kB / 0.5872 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.185e-05/0.6, allocations: 16.75 kB / 0.5873 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6, allocations: 0 / 0.5873 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6, allocations: 7.828 kB / 0.5873 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6, allocations: 3.984 kB / 0.5873 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007308/0.6008, allocations: 0.5564 MB / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6008, allocations: 0 / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.601, allocations: 47.97 kB / 0.5879 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.601, allocations: 0 / 0.5879 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.6011, allocations: 3.953 kB / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6011, allocations: 0 / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6011, allocations: 0 / 0.5879 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.6014, allocations: 255.3 kB / 0.5881 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.6015, allocations: 108.9 kB / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.6015, allocations: 0 / 0.5882 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.6017, allocations: 19.98 kB / 0.5882 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.6018, allocations: 15.92 kB / 0.5882 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.6018, allocations: 8 kB / 0.5883 GB, free: 328 kB / 394.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.6019, allocations: 103.3 kB / 0.5884 GB, free: 224 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6019, allocations: 0 / 0.5884 GB, free: 224 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.6022, allocations: 32 kB / 0.5884 GB, free: 192 kB / 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.0006057/0.6028, allocations: 0.7883 MB / 0.5892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.6031, allocations: 127.9 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6031, allocations: 4 kB / 0.5893 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6032, allocations: 66.34 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6034, allocations: 15.98 kB / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.6042, allocations: 258.9 kB / 0.5896 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.6044, allocations: 0.7324 MB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.6046, allocations: 25.19 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.6048, allocations: 51.36 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6048, allocations: 0 / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.6271, allocations: 2.904 MB / 0.5932 GB, free: 11.16 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.6273, allocations: 132.3 kB / 0.5934 GB, free: 10.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.264, allocations: 0 / 0.5934 GB, free: 10.97 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat does not exist to compare? outputFormat=mat