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.001492/0.001492, allocations: 200.5 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008581/0.0008584, allocations: 91.88 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4256/0.4256, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3643, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.481, allocations: 89.99 MB / 0.6063 GB, free: 15.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4813, allocations: 79.94 kB / 0.6064 GB, free: 15.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009086/0.4904, allocations: 2.95 MB / 0.6093 GB, free: 12.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4904, allocations: 0 / 0.6093 GB, free: 12.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.4905, allocations: 4 kB / 0.6093 GB, free: 12.29 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.0007295/0.4912, allocations: 434.9 kB / 0.6097 GB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4912, allocations: 8.031 kB / 0.6097 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.4914, allocations: 28.73 kB / 0.6097 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.4917, allocations: 222.6 kB / 0.6099 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4917, allocations: 4.375 kB / 0.6099 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.4918, allocations: 12.38 kB / 0.6099 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.4922, allocations: 174.5 kB / 0.6101 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4922, allocations: 0 / 0.6101 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.4922, allocations: 4 kB / 0.6101 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4922, allocations: 4 kB / 0.6101 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.4926, allocations: 120.6 kB / 0.6102 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4936, allocations: 0.6898 MB / 0.6109 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.4941, allocations: 150.5 kB / 0.611 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4942, allocations: 68.75 kB / 0.6111 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.4943, allocations: 4 kB / 0.6111 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4943, allocations: 42.5 kB / 0.6112 GB, free: 10.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4943, allocations: 0 / 0.6112 GB, free: 10.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001369/0.4957, allocations: 436 kB / 0.6116 GB, free: 9.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4957, allocations: 55.41 kB / 0.6116 GB, free: 9.672 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.4959, allocations: 159.1 kB / 0.6118 GB, free: 9.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.4959, allocations: 25.7 kB / 0.6118 GB, free: 9.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.496, allocations: 120.4 kB / 0.6119 GB, free: 9.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.4961, allocations: 70.89 kB / 0.612 GB, free: 9.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.4961, allocations: 4 kB / 0.612 GB, free: 9.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4962, allocations: 322.8 kB / 0.6123 GB, free: 8.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.4965, allocations: 75.95 kB / 0.6124 GB, free: 8.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.4967, allocations: 113.7 kB / 0.6125 GB, free: 8.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.4971, allocations: 197.1 kB / 0.6127 GB, free: 8.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4971, allocations: 0 / 0.6127 GB, free: 8.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005091/0.4977, allocations: 235 kB / 0.6129 GB, free: 8.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4977, allocations: 4 kB / 0.6129 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4977, allocations: 0 / 0.6129 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4977, allocations: 4 kB / 0.6129 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.498, allocations: 59.91 kB / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.498, allocations: 3.984 kB / 0.613 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4982, allocations: 16.09 kB / 0.613 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4982, allocations: 11.98 kB / 0.613 GB, free: 8.227 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.0001328/0.4984, allocations: 129.7 kB / 0.6131 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.4984, allocations: 15.81 kB / 0.6131 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.4985, allocations: 25.19 kB / 0.6131 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4985, allocations: 0 / 0.6131 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4985, allocations: 0 / 0.6131 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4985, allocations: 7.984 kB / 0.6132 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.4995, allocations: 0.6431 MB / 0.6138 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4996, allocations: 0 / 0.6138 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.4998, allocations: 47.91 kB / 0.6138 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4998, allocations: 0 / 0.6138 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4998, allocations: 7.922 kB / 0.6138 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4999, allocations: 0 / 0.6138 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4999, allocations: 4 kB / 0.6138 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.5004, allocations: 318.3 kB / 0.6141 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.5005, allocations: 108.9 kB / 0.6142 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.5006, allocations: 7.922 kB / 0.6143 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.5008, allocations: 19.98 kB / 0.6143 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.5009, allocations: 11.98 kB / 0.6143 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5009, allocations: 11.88 kB / 0.6143 GB, free: 6.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.501, allocations: 117.2 kB / 0.6144 GB, free: 6.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.501, allocations: 7.938 kB / 0.6144 GB, free: 6.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.5013, allocations: 40 kB / 0.6145 GB, free: 6.625 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.0001629/0.5015, allocations: 99.23 kB / 0.6145 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.502, allocations: 188 kB / 0.6147 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.502, allocations: 0 / 0.6147 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.5022, allocations: 95.89 kB / 0.6148 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.5026, allocations: 31.92 kB / 0.6148 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.5035, allocations: 469.4 kB / 0.6153 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.5038, allocations: 0.7211 MB / 0.616 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.504, allocations: 29.41 kB / 0.616 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.5041, allocations: 23.44 kB / 0.6161 GB, free: 4.914 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5041, allocations: 0 / 0.6161 GB, free: 4.914 MB / 426.7 MB Notification: Performance of Templates: time 0.004796/0.5089, allocations: 1.799 MB / 0.6178 GB, free: 3.125 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/jenkins1/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