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.001134/0.001134, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.0009488/0.000949, allocations: 192 kB / 18.56 MB, free: 4.434 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.357/1.357, allocations: 222.9 MB / 242.2 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.196/0.196, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 72.8 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003587/0.1063, allocations: 2.055 MB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.1073, allocations: 0.5416 MB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1074, allocations: 0 / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1075, allocations: 19.8 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.1077, allocations: 43.56 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.108, allocations: 79.83 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1083, allocations: 195.1 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1084, allocations: 41.55 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1086, allocations: 91.62 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1087, allocations: 83.67 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.1088, allocations: 15.94 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.1088, allocations: 16 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1089, allocations: 39.83 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.1089, allocations: 71.66 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1091, allocations: 187.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1092, allocations: 0 / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1092, allocations: 0 / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1092, allocations: 4 kB / 472.7 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.0008093/0.11, allocations: 458.8 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.11, allocations: 12.02 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.1101, allocations: 16.75 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1103, allocations: 212.6 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1103, allocations: 8.375 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.1104, allocations: 16.12 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1107, allocations: 164.6 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1108, allocations: 3.906 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1108, allocations: 4 kB / 473.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1108, allocations: 4 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.1111, allocations: 120.6 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.1119, allocations: 0.6898 MB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.1123, allocations: 150.5 kB / 474.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1125, allocations: 60.83 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1125, allocations: 3.938 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1125, allocations: 42.56 kB / 474.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.133e-06/0.1125, allocations: 0 / 474.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001328/0.1139, allocations: 420.2 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.1139, allocations: 55.41 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1141, allocations: 150.2 kB / 475.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1141, allocations: 29.7 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.1142, allocations: 120.3 kB / 475.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1142, allocations: 63.02 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.1143, allocations: 37.7 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1144, allocations: 330.8 kB / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1146, allocations: 67.95 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1149, allocations: 110.8 kB / 476 MB, free: 7.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.1153, allocations: 181.9 kB / 476.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1153, allocations: 3.938 kB / 476.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005126/0.1158, allocations: 225.4 kB / 476.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1158, allocations: 12.03 kB / 476.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1158, allocations: 0 / 476.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1159, allocations: 0 / 476.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1162, allocations: 55.89 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1162, allocations: 3.938 kB / 476.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1164, allocations: 15.98 kB / 476.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.1164, allocations: 8 kB / 476.5 MB, free: 6.828 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.0001295/0.1165, allocations: 137.7 kB / 476.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.1166, allocations: 11.91 kB / 476.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.1166, allocations: 25.19 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1166, allocations: 4 kB / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1166, allocations: 0 / 476.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1167, allocations: 3.984 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1177, allocations: 0.6278 MB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1177, allocations: 0 / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.118, allocations: 47.91 kB / 477.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.118, allocations: 7.922 kB / 477.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.118, allocations: 0 / 477.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.118, allocations: 8 kB / 477.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.118, allocations: 0 / 477.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.1185, allocations: 309.8 kB / 477.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.1186, allocations: 100.9 kB / 477.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1187, allocations: 11.94 kB / 477.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1189, allocations: 19.98 kB / 477.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.1189, allocations: 7.984 kB / 477.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.119, allocations: 11.98 kB / 477.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.1191, allocations: 120.1 kB / 477.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1191, allocations: 0 / 477.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1193, allocations: 36 kB / 478 MB, free: 5.25 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.0001057/0.1194, allocations: 99.23 kB / 478.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.12, allocations: 179.8 kB / 478.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.12, allocations: 0 / 478.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1202, allocations: 98.3 kB / 478.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1205, allocations: 27.2 kB / 478.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.1213, allocations: 381.6 kB / 478.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1217, allocations: 0.7208 MB / 479.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.1219, allocations: 33.39 kB / 479.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.122, allocations: 19.44 kB / 479.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.122, allocations: 0 / 479.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of Templates: time 0.004659/0.1266, allocations: 2.025 MB / 481.5 MB, free: 1.641 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/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