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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 80.95 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 62.44 MB / 479.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003745/0.1178, allocations: 2.124 MB / 482.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1191, allocations: 0.5922 MB / 482.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1193, allocations: 7.938 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.1195, allocations: 7.922 kB / 482.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1197, allocations: 35.7 kB / 482.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1201, allocations: 83.89 kB / 482.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1204, allocations: 175.3 kB / 482.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1205, allocations: 33.55 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.1208, allocations: 79.7 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1209, allocations: 75.67 kB / 483.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.121, allocations: 12 kB / 483.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.1211, allocations: 8 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.1211, allocations: 39.81 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.1212, allocations: 67.66 kB / 483.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1214, allocations: 131.9 kB / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1214, allocations: 0 / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1214, allocations: 8 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1214, allocations: 0 / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009021/0.1223, allocations: 451.1 kB / 483.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1224, allocations: 8.875 kB / 483.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1226, allocations: 24.83 kB / 483.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1228, allocations: 223.8 kB / 484.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1229, allocations: 16.59 kB / 484.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1229, allocations: 12.12 kB / 484.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.1233, allocations: 167.6 kB / 484.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1233, allocations: 3.906 kB / 484.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1233, allocations: 4 kB / 484.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1234, allocations: 4 kB / 484.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1237, allocations: 107.9 kB / 484.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.1247, allocations: 0.6846 MB / 485.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.125, allocations: 146.5 kB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.1252, allocations: 56.83 kB / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1252, allocations: 7.938 kB / 485.3 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1253, allocations: 38.56 kB / 485.3 MB, free: 100 kB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.1253, allocations: 0 / 485.3 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001444/0.1267, allocations: 404.6 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1268, allocations: 55.41 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1269, allocations: 158.1 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.127, allocations: 29.7 kB / 486 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.1271, allocations: 120.2 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.1271, allocations: 67.08 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.1272, allocations: 37.7 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1273, allocations: 330.8 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1275, allocations: 63.95 kB / 486.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1277, allocations: 91.39 kB / 486.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.1282, allocations: 177.5 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1282, allocations: 0 / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005193/0.1287, allocations: 225.2 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1287, allocations: 4 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1287, allocations: 4 kB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1288, allocations: 0 / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1291, allocations: 47.95 kB / 487.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.1291, allocations: 11.88 kB / 487.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1293, allocations: 15.94 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.1293, allocations: 7.984 kB / 487.1 MB, free: 14.2 MB / 366.1 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.1294, allocations: 129.9 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.1295, allocations: 15.81 kB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.1295, allocations: 17.19 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1296, allocations: 4 kB / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1296, allocations: 7.938 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1296, allocations: 3.984 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1307, allocations: 0.6227 MB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1307, allocations: 4 kB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.131, allocations: 39.97 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.131, allocations: 0 / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.131, allocations: 8 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.131, allocations: 0 / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.131, allocations: 0 / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.1315, allocations: 303.1 kB / 488.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.1316, allocations: 104.9 kB / 488.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1317, allocations: 8 kB / 488.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1319, allocations: 15.98 kB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.132, allocations: 15.97 kB / 488.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.132, allocations: 8 kB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.1321, allocations: 111.2 kB / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1321, allocations: 0 / 488.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1324, allocations: 40 kB / 488.6 MB, free: 12.66 MB / 366.1 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.1325, allocations: 103.1 kB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00048/0.133, allocations: 167.8 kB / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.133, allocations: 0 / 488.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.1332, allocations: 94.77 kB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1336, allocations: 28.11 kB / 489 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.1345, allocations: 452.6 kB / 489.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1348, allocations: 0.7213 MB / 490.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1349, allocations: 15.44 kB / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1349, allocations: 0 / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of Templates: time 0.004305/0.1392, allocations: 2.126 MB / 492.3 MB, free: 8.91 MB / 366.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches