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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 110 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 199.4 kB / 19.23 MB, free: 3.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.19 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.03 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003545/0.109, allocations: 2.07 MB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.11, allocations: 0.5455 MB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1102, allocations: 4 kB / 472.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1103, allocations: 19.8 kB / 472.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1105, allocations: 35.64 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1109, allocations: 75.81 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1111, allocations: 195.1 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1113, allocations: 45.55 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1115, allocations: 83.69 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.1116, allocations: 83.67 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1117, allocations: 12 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.882e-05/0.1117, allocations: 16 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.1118, allocations: 35.91 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.566e-05/0.1119, allocations: 83.58 kB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1121, allocations: 179.6 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1121, allocations: 0 / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1121, allocations: 0 / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1121, allocations: 0 / 473.4 MB, free: 10.88 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008427/0.113, allocations: 469.7 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.113, allocations: 8.031 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.1131, allocations: 24.75 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1133, allocations: 204.7 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1133, allocations: 12.31 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.1134, allocations: 16.12 kB / 474.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1137, allocations: 164.6 kB / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1138, allocations: 7.906 kB / 474.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.1138, allocations: 4 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1138, allocations: 4 kB / 474.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.1141, allocations: 116.6 kB / 474.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.115, allocations: 0.6937 MB / 475.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1155, allocations: 158.5 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1156, allocations: 60.83 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1157, allocations: 7.938 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1157, allocations: 34.5 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1157, allocations: 0 / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001359/0.1171, allocations: 411.5 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1171, allocations: 55.41 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1172, allocations: 150.2 kB / 475.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1173, allocations: 29.7 kB / 476 MB, free: 8.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.1174, allocations: 124.3 kB / 476.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1174, allocations: 71 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.1175, allocations: 37.7 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1176, allocations: 330.8 kB / 476.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1178, allocations: 67.95 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1181, allocations: 120.8 kB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.1185, allocations: 167.4 kB / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1185, allocations: 0 / 476.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005195/0.119, allocations: 231.8 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.119, allocations: 7.984 kB / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1191, allocations: 0 / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1191, allocations: 4 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1194, allocations: 47.91 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1194, allocations: 4.094 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1196, allocations: 19.92 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1196, allocations: 8 kB / 477.2 MB, free: 6.812 MB / 350.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 (23): * Single equations (assignments): 23 * 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.0001179/0.1197, allocations: 133.7 kB / 477.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.1198, allocations: 15.89 kB / 477.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.1199, allocations: 17.19 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1199, allocations: 4 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1199, allocations: 0 / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1199, allocations: 0 / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.1209, allocations: 0.6316 MB / 478 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1209, allocations: 0 / 478 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1212, allocations: 47.97 kB / 478 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1212, allocations: 3.938 kB / 478 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1212, allocations: 4 kB / 478 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1212, allocations: 0 / 478 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1212, allocations: 3.938 kB / 478 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.1217, allocations: 314 kB / 478.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.1218, allocations: 108.8 kB / 478.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1219, allocations: 3.938 kB / 478.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1221, allocations: 15.98 kB / 478.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.1222, allocations: 19.97 kB / 478.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1222, allocations: 4 kB / 478.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.921e-05/0.1223, allocations: 120.1 kB / 478.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1223, allocations: 0 / 478.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1226, allocations: 40 kB / 478.7 MB, free: 5.238 MB / 350.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 (20): * Single equations (assignments): 20 * 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.0001124/0.1227, allocations: 103.2 kB / 478.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005067/0.1232, allocations: 175.8 kB / 478.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1232, allocations: 0 / 478.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.1234, allocations: 100 kB / 479 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1238, allocations: 23.98 kB / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.1246, allocations: 407.2 kB / 479.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1249, allocations: 0.7168 MB / 480.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.125, allocations: 23.42 kB / 480.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.125, allocations: 4 kB / 480.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of Templates: time 0.004052/0.129, allocations: 2.148 MB / 482.3 MB, free: 1.488 MB / 350.1 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/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_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches