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.001023/0.001023, allocations: 95.16 kB / 18 MB, free: 5.602 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.001292/0.001292, allocations: 182.4 kB / 18.91 MB, free: 4.738 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.617/1.617, allocations: 223.3 MB / 243 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.24 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 12 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.002485/0.1119, allocations: 1.773 MB / 474.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.1129, allocations: 0.5222 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1131, allocations: 3.938 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1132, allocations: 11.92 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1134, allocations: 39.64 kB / 475.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.1138, allocations: 63.91 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.1141, allocations: 187.1 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1143, allocations: 41.52 kB / 475.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1145, allocations: 71.72 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1146, allocations: 79.66 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1147, allocations: 8 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.005e-05/0.1147, allocations: 8 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.1148, allocations: 31.84 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.1149, allocations: 93.36 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.115, allocations: 135.9 kB / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.115, allocations: 0 / 476 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.115, allocations: 4 kB / 476 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1151, allocations: 0 / 476 MB, free: 10.26 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.0007697/0.1158, allocations: 434.9 kB / 476.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.1159, allocations: 8.031 kB / 476.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.116, allocations: 16.75 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1162, allocations: 216.6 kB / 476.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1163, allocations: 8.375 kB / 476.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1163, allocations: 16.12 kB / 476.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.1167, allocations: 169.6 kB / 476.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1167, allocations: 3.938 kB / 476.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1167, allocations: 8 kB / 476.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1167, allocations: 7.938 kB / 476.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1171, allocations: 112.6 kB / 477 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.118, allocations: 0.6977 MB / 477.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.1184, allocations: 158.5 kB / 477.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1186, allocations: 56.84 kB / 477.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1187, allocations: 11.92 kB / 477.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1187, allocations: 38.56 kB / 477.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.1187, allocations: 0 / 477.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001447/0.1202, allocations: 449.5 kB / 478.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1202, allocations: 55.41 kB / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1203, allocations: 150.2 kB / 478.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1204, allocations: 25.7 kB / 478.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1205, allocations: 124.3 kB / 478.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.1205, allocations: 71 kB / 478.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1206, allocations: 17.72 kB / 478.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1207, allocations: 330.8 kB / 479.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1209, allocations: 71.95 kB / 479.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1211, allocations: 111.3 kB / 479.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.1216, allocations: 187.3 kB / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1216, allocations: 0 / 479.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005354/0.1221, allocations: 248 kB / 479.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1222, allocations: 4 kB / 479.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1222, allocations: 0 / 479.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1222, allocations: 4 kB / 479.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.1225, allocations: 56.05 kB / 479.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1225, allocations: 4 kB / 479.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1227, allocations: 12 kB / 479.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1227, allocations: 7.984 kB / 479.8 MB, free: 6.172 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.0001317/0.1229, allocations: 137.7 kB / 479.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1229, allocations: 15.84 kB / 479.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.123, allocations: 25.19 kB / 480 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.123, allocations: 7.922 kB / 480 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.123, allocations: 4 kB / 480 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.123, allocations: 3.984 kB / 480 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.1241, allocations: 0.6435 MB / 480.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1241, allocations: 0 / 480.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1244, allocations: 51.97 kB / 480.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1244, allocations: 7.922 kB / 480.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1244, allocations: 4 kB / 480.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1244, allocations: 0 / 480.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1244, allocations: 0 / 480.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.125, allocations: 326.1 kB / 481 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.286e-05/0.1251, allocations: 108.9 kB / 481.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1251, allocations: 3.938 kB / 481.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1253, allocations: 19.98 kB / 481.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.1254, allocations: 15.98 kB / 481.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1254, allocations: 7.984 kB / 481.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.843e-05/0.1255, allocations: 128 kB / 481.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1255, allocations: 0 / 481.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1258, allocations: 36 kB / 481.3 MB, free: 4.539 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.0001333/0.126, allocations: 95.78 kB / 481.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.1265, allocations: 187.8 kB / 481.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1265, allocations: 0 / 481.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.1268, allocations: 100.1 kB / 481.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1272, allocations: 23.92 kB / 481.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.128, allocations: 0.4953 MB / 482.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1283, allocations: 0.7249 MB / 482.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.1284, allocations: 15.44 kB / 483 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1284, allocations: 0 / 483 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004297/0.1327, allocations: 2.14 MB / 485.1 MB, free: 0.7109 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