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.001194/0.001194, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009388/0.0009389, allocations: 91.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.874e-05, allocations: 224 / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5866, allocations: 88.99 MB / 0.5887 GB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/0.5871, allocations: 68.78 kB / 0.5888 GB, free: 200 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009553/0.5966, allocations: 2.849 MB / 0.5915 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5967, allocations: 0 / 0.5915 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.5967, allocations: 8 kB / 0.5916 GB, free: 13.34 MB / 410.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.0007367/0.5975, allocations: 418 kB / 0.592 GB, free: 12.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.5975, allocations: 16.03 kB / 0.592 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.5976, allocations: 46.55 kB / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.5977, allocations: 15.81 kB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.598, allocations: 199.4 kB / 0.5922 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.598, allocations: 8.5 kB / 0.5922 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.598, allocations: 19.89 kB / 0.5922 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.5984, allocations: 157.6 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5984, allocations: 4 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.5984, allocations: 8 kB / 0.5924 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.5984, allocations: 4 kB / 0.5924 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.5987, allocations: 92.69 kB / 0.5925 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000971/0.5996, allocations: 0.6974 MB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.6, allocations: 126.6 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.6001, allocations: 51.81 kB / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.6001, allocations: 19.97 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6001, allocations: 42.5 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.6002, allocations: 0 / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009559/0.6011, allocations: 316.4 kB / 0.5937 GB, free: 10.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.6012, allocations: 59.41 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.6013, allocations: 137.3 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.6014, allocations: 29.7 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.6015, allocations: 112.4 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.6015, allocations: 67 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.6015, allocations: 8 kB / 0.5941 GB, free: 10.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6017, allocations: 318.8 kB / 0.5944 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.464e-05/0.6018, allocations: 52 kB / 0.5945 GB, free: 10.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.6019, allocations: 86.77 kB / 0.5945 GB, free: 10.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.602, allocations: 55.92 kB / 0.5946 GB, free: 9.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.602, allocations: 0 / 0.5946 GB, free: 9.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003099/0.6024, allocations: 187.2 kB / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6024, allocations: 5.562 kB / 0.5948 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6024, allocations: 8.094 kB / 0.5948 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6024, allocations: 3.953 kB / 0.5948 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.6027, allocations: 59.89 kB / 0.5948 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6027, allocations: 4 kB / 0.5949 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.6029, allocations: 11.98 kB / 0.5949 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.6029, allocations: 12 kB / 0.5949 GB, free: 9.684 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 0.0001027/0.603, allocations: 120.9 kB / 0.595 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.6031, allocations: 11.91 kB / 0.595 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.6032, allocations: 20.75 kB / 0.595 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6032, allocations: 7.828 kB / 0.595 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6032, allocations: 3.953 kB / 0.595 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.6032, allocations: 3.984 kB / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.6041, allocations: 0.6005 MB / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6041, allocations: 0 / 0.5956 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.6044, allocations: 47.91 kB / 0.5957 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6044, allocations: 0 / 0.5957 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.6044, allocations: 8 kB / 0.5957 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6044, allocations: 0 / 0.5957 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6044, allocations: 7.984 kB / 0.5957 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.6048, allocations: 269.5 kB / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6049, allocations: 100.9 kB / 0.596 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.6049, allocations: 7.953 kB / 0.596 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.6051, allocations: 15.98 kB / 0.5961 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.6052, allocations: 15.97 kB / 0.5961 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.6052, allocations: 12 kB / 0.5961 GB, free: 8.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.6053, allocations: 124 kB / 0.5962 GB, free: 8.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6053, allocations: 0 / 0.5962 GB, free: 8.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.6056, allocations: 36 kB / 0.5962 GB, free: 8.191 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.0006964/0.6063, allocations: 0.8005 MB / 0.597 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.6066, allocations: 143.8 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6066, allocations: 0 / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6068, allocations: 75.92 kB / 0.5972 GB, free: 7.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.6071, allocations: 23.7 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.6078, allocations: 267.7 kB / 0.5975 GB, free: 6.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.6082, allocations: 0.721 MB / 0.5982 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.6084, allocations: 29.19 kB / 0.5982 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.6085, allocations: 43.42 kB / 0.5983 GB, free: 6.012 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6085, allocations: 4 kB / 0.5983 GB, free: 6.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.6229, allocations: 3.3 MB / 0.6015 GB, free: 2.824 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.6231, allocations: 161 kB / 0.6017 GB, free: 2.594 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.25, allocations: 0 / 0.6017 GB, free: 2.594 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