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.001083/0.001088, allocations: 108.3 kB / 18.39 MB, free: 4.629 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.001016/0.001016, allocations: 186.9 kB / 19.33 MB, free: 3.699 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.312/1.312, allocations: 222.9 MB / 243 MB, free: 15.14 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.2003/0.2003, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.2 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003724/0.1136, allocations: 2.073 MB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1147, allocations: 0.5339 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.1148, allocations: 3.938 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.1149, allocations: 19.8 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.115, allocations: 39.64 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1154, allocations: 75.83 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1156, allocations: 199.1 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1158, allocations: 41.55 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1159, allocations: 83.7 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1161, allocations: 83.66 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.1161, allocations: 16 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.1162, allocations: 16 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.1162, allocations: 35.84 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.1163, allocations: 79.59 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1165, allocations: 183.3 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1165, allocations: 4 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1165, allocations: 0 / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1166, allocations: 0 / 474.2 MB, free: 10.15 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.0008051/0.1174, allocations: 462.8 kB / 474.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1174, allocations: 12.03 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.1175, allocations: 20.69 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1178, allocations: 200.7 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1178, allocations: 12.38 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.1178, allocations: 16.12 kB / 474.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.1182, allocations: 164.6 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1182, allocations: 11.88 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1183, allocations: 8 kB / 475.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1183, allocations: 8 kB / 475.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.1186, allocations: 112.6 kB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1196, allocations: 0.6976 MB / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.1201, allocations: 138.6 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1202, allocations: 64.83 kB / 476.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.1203, allocations: 7.938 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.1203, allocations: 38.48 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1203, allocations: 0 / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001359/0.1217, allocations: 412.8 kB / 476.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1217, allocations: 55.41 kB / 476.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1219, allocations: 154.2 kB / 476.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1219, allocations: 25.7 kB / 476.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.122, allocations: 120.3 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.1221, allocations: 71 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.1222, allocations: 37.7 kB / 477 MB, free: 7.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1223, allocations: 330.8 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.1225, allocations: 67.95 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1227, allocations: 110.8 kB / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1231, allocations: 178 kB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1231, allocations: 0 / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004836/0.1236, allocations: 229.2 kB / 477.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1237, allocations: 4 kB / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1237, allocations: 0 / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1237, allocations: 7.938 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.124, allocations: 59.83 kB / 477.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.124, allocations: 4 kB / 477.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.1242, allocations: 11.98 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1242, allocations: 12.09 kB / 478 MB, free: 6.09 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.0001434/0.1244, allocations: 129.7 kB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.1244, allocations: 11.91 kB / 478.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.226e-05/0.1245, allocations: 25.17 kB / 478.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1245, allocations: 4 kB / 478.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1245, allocations: 0 / 478.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1245, allocations: 3.938 kB / 478.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1256, allocations: 0.6278 MB / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1256, allocations: 0 / 478.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.1259, allocations: 43.95 kB / 478.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1259, allocations: 3.938 kB / 478.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1259, allocations: 4 kB / 478.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1259, allocations: 7.938 kB / 478.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1259, allocations: 4 kB / 478.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.1264, allocations: 297.9 kB / 479.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.1266, allocations: 104.9 kB / 479.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1266, allocations: 11.94 kB / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1268, allocations: 15.98 kB / 479.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.1269, allocations: 15.98 kB / 479.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1269, allocations: 7.984 kB / 479.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.99e-05/0.127, allocations: 128 kB / 479.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 479.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1273, allocations: 36 kB / 479.4 MB, free: 4.52 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.0001355/0.1275, allocations: 99.19 kB / 479.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1279, allocations: 179.8 kB / 479.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1279, allocations: 0 / 479.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.1282, allocations: 94.3 kB / 479.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1285, allocations: 27.41 kB / 479.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.1293, allocations: 377.7 kB / 480.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1296, allocations: 0.7169 MB / 480.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.1298, allocations: 29.41 kB / 480.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.1299, allocations: 15.44 kB / 481 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1299, allocations: 7.875 kB / 481 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004953/0.1348, allocations: 2.021 MB / 483 MB, free: 0.9219 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 -s gbode -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