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: translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gasForce.dens|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009695/0.0009695, allocations: 180.3 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.195/1.195, allocations: 221.3 MB / 236 MB, free: 2.969 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.0008044/0.0008045, allocations: 95.48 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.1769/0.1769, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.469e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4666, allocations: 88.98 MB / 0.5886 GB, free: 344 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4669, allocations: 71.97 kB / 0.5887 GB, free: 272 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008249/0.4751, allocations: 2.85 MB / 0.5915 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4752, allocations: 0 / 0.5915 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4752, allocations: 4 kB / 0.5915 GB, free: 13.41 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.0005986/0.4758, allocations: 422.1 kB / 0.5919 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.4759, allocations: 11.97 kB / 0.5919 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.4759, allocations: 15.81 kB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.4762, allocations: 206.6 kB / 0.5921 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4762, allocations: 12.5 kB / 0.5921 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.4763, allocations: 15.95 kB / 0.5921 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.4765, allocations: 165.6 kB / 0.5923 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4766, allocations: 0 / 0.5923 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.4766, allocations: 8 kB / 0.5923 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4766, allocations: 0 / 0.5923 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.4768, allocations: 88.69 kB / 0.5924 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008697/0.4777, allocations: 0.6936 MB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.478, allocations: 130.6 kB / 0.5932 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/0.4781, allocations: 52.86 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.4781, allocations: 0 / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4781, allocations: 45.47 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.4781, allocations: 0 / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008954/0.479, allocations: 328.5 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.4791, allocations: 55.41 kB / 0.5936 GB, free: 10.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.4792, allocations: 137.4 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4792, allocations: 29.7 kB / 0.5938 GB, free: 10.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.4793, allocations: 116.3 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.4794, allocations: 67 kB / 0.594 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.4794, allocations: 4 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4795, allocations: 326.8 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.4796, allocations: 48 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.4798, allocations: 86.56 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4799, allocations: 51.98 kB / 0.5945 GB, free: 10.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4799, allocations: 3.938 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002905/0.4802, allocations: 187.3 kB / 0.5946 GB, free: 9.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4802, allocations: 5.094 kB / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4802, allocations: 0 / 0.5946 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4802, allocations: 4 kB / 0.5946 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.4805, allocations: 59.86 kB / 0.5947 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4805, allocations: 0 / 0.5947 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4807, allocations: 19.98 kB / 0.5947 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4807, allocations: 12.08 kB / 0.5947 GB, free: 9.816 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 8.717e-05/0.4808, allocations: 116.9 kB / 0.5948 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4809, allocations: 15.81 kB / 0.5949 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.4809, allocations: 28.69 kB / 0.5949 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4809, allocations: 3.938 kB / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4809, allocations: 3.953 kB / 0.5949 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4809, allocations: 7.812 kB / 0.5949 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.4817, allocations: 0.6003 MB / 0.5955 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4817, allocations: 3.953 kB / 0.5955 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.482, allocations: 43.97 kB / 0.5955 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.482, allocations: 0 / 0.5955 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.482, allocations: 11.94 kB / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.482, allocations: 0 / 0.5955 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.482, allocations: 4 kB / 0.5955 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.4823, allocations: 265.9 kB / 0.5958 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.4824, allocations: 108.9 kB / 0.5959 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.4825, allocations: 3.953 kB / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.4827, allocations: 23.98 kB / 0.5959 GB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.4828, allocations: 19.97 kB / 0.5959 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4828, allocations: 4 kB / 0.596 GB, free: 8.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.4829, allocations: 120 kB / 0.5961 GB, free: 8.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4829, allocations: 0 / 0.5961 GB, free: 8.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.4831, allocations: 40 kB / 0.5961 GB, free: 8.312 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.0001227/0.4832, allocations: 99.19 kB / 0.5962 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.4835, allocations: 143.9 kB / 0.5963 GB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4835, allocations: 0 / 0.5963 GB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.4837, allocations: 74 kB / 0.5964 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.4839, allocations: 15.98 kB / 0.5964 GB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.4844, allocations: 218 kB / 0.5966 GB, free: 7.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4847, allocations: 0.721 MB / 0.5973 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.4849, allocations: 37.11 kB / 0.5974 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.485, allocations: 19.44 kB / 0.5974 GB, free: 6.938 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.485, allocations: 0 / 0.5974 GB, free: 6.938 MB / 410.7 MB Notification: Performance of Templates: time 0.003947/0.4889, allocations: 1.792 MB / 0.5991 GB, free: 5.164 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches