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: 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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008437/0.0008437, allocations: 98.84 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3341/0.3341, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002466, allocations: 8 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2763, allocations: 63.25 MB / 0.5192 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3848, allocations: 90.13 MB / 0.6072 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.385, allocations: 71.95 kB / 0.6073 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008301/0.3933, allocations: 2.965 MB / 0.6102 GB, free: 10.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3933, allocations: 0 / 0.6102 GB, free: 10.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3934, allocations: 4 kB / 0.6102 GB, free: 10.26 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.0005735/0.3939, allocations: 430.8 kB / 0.6106 GB, free: 9.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.394, allocations: 8.031 kB / 0.6106 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.3941, allocations: 27.81 kB / 0.6106 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3943, allocations: 216.8 kB / 0.6108 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3944, allocations: 8 kB / 0.6108 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3944, allocations: 12 kB / 0.6108 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.3947, allocations: 168.6 kB / 0.611 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3947, allocations: 0 / 0.611 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3948, allocations: 4 kB / 0.611 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3948, allocations: 4 kB / 0.611 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.3951, allocations: 116.6 kB / 0.6111 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.3959, allocations: 0.7033 MB / 0.6118 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.3963, allocations: 146.5 kB / 0.6119 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3963, allocations: 0 / 0.6119 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3964, allocations: 38.56 kB / 0.612 GB, free: 8.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.3964, allocations: 4 kB / 0.612 GB, free: 8.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001309/0.3977, allocations: 436.5 kB / 0.6124 GB, free: 7.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.3977, allocations: 55.41 kB / 0.6125 GB, free: 7.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3978, allocations: 141.3 kB / 0.6126 GB, free: 7.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3979, allocations: 33.7 kB / 0.6126 GB, free: 7.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3979, allocations: 116.3 kB / 0.6127 GB, free: 7.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.398, allocations: 74.97 kB / 0.6128 GB, free: 7.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.398, allocations: 0 / 0.6128 GB, free: 7.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.3981, allocations: 330.8 kB / 0.6131 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.3983, allocations: 71.97 kB / 0.6132 GB, free: 6.938 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3985, allocations: 107.2 kB / 0.6133 GB, free: 6.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3987, allocations: 90.16 kB / 0.6134 GB, free: 6.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3987, allocations: 3.938 kB / 0.6134 GB, free: 6.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004583/0.3991, allocations: 237.2 kB / 0.6136 GB, free: 6.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3992, allocations: 4 kB / 0.6136 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3992, allocations: 0 / 0.6136 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3992, allocations: 4 kB / 0.6136 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.3995, allocations: 47.97 kB / 0.6137 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.3995, allocations: 7.938 kB / 0.6137 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3997, allocations: 20.08 kB / 0.6137 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3997, allocations: 4 kB / 0.6137 GB, free: 6.406 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.00011/0.3998, allocations: 129.8 kB / 0.6138 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.3998, allocations: 19.77 kB / 0.6138 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.3999, allocations: 21.19 kB / 0.6139 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3999, allocations: 8 kB / 0.6139 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3999, allocations: 0 / 0.6139 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3999, allocations: 3.984 kB / 0.6139 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009252/0.4009, allocations: 0.6559 MB / 0.6145 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4009, allocations: 0 / 0.6145 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.4011, allocations: 47.97 kB / 0.6146 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4011, allocations: 0 / 0.6146 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4012, allocations: 0 / 0.6146 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4012, allocations: 8 kB / 0.6146 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4012, allocations: 3.984 kB / 0.6146 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.4017, allocations: 322.3 kB / 0.6149 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.4018, allocations: 104.9 kB / 0.615 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.4018, allocations: 0 / 0.615 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.402, allocations: 19.98 kB / 0.615 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.4021, allocations: 15.97 kB / 0.615 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.4021, allocations: 8 kB / 0.615 GB, free: 4.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.4022, allocations: 115.2 kB / 0.6151 GB, free: 4.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4022, allocations: 7.938 kB / 0.6151 GB, free: 4.832 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.4024, allocations: 40 kB / 0.6152 GB, free: 4.793 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.0001294/0.4026, allocations: 107.2 kB / 0.6153 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.403, allocations: 184 kB / 0.6154 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4031, allocations: 0 / 0.6154 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.4033, allocations: 95.89 kB / 0.6155 GB, free: 4.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.4035, allocations: 27.92 kB / 0.6156 GB, free: 4.379 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.4042, allocations: 473.3 kB / 0.616 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.4045, allocations: 0.7249 MB / 0.6167 GB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.4047, allocations: 29.41 kB / 0.6168 GB, free: 3.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.4048, allocations: 23.44 kB / 0.6168 GB, free: 3.082 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4048, allocations: 0 / 0.6168 GB, free: 3.082 MB / 426.7 MB Notification: Performance of Templates: time 0.004146/0.4089, allocations: 1.785 MB / 0.6185 GB, free: 1.316 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches