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.001156/0.001156, allocations: 105.1 kB / 17.21 MB, free: 6.289 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.00134/0.00134, allocations: 194 kB / 18.12 MB, free: 5.383 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.401/1.401, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2179/0.2179, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 76.53 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003385/0.1154, allocations: 2.12 MB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009037/0.1163, allocations: 0.5339 MB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.1164, allocations: 4 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1165, allocations: 15.86 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1167, allocations: 47.62 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1171, allocations: 59.92 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1173, allocations: 191.1 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1175, allocations: 33.55 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1176, allocations: 71.72 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1178, allocations: 83.66 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.1178, allocations: 8 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.169e-05/0.1179, allocations: 8 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1179, allocations: 39.83 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.118, allocations: 67.66 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1182, allocations: 179.6 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1182, allocations: 0 / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1182, allocations: 4 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1182, allocations: 0 / 472 MB, free: 11.38 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.0008309/0.1191, allocations: 462.8 kB / 472.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1191, allocations: 12.03 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1192, allocations: 16.75 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1194, allocations: 200.7 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1194, allocations: 12.38 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1195, allocations: 20.06 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.1198, allocations: 164.6 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1199, allocations: 3.906 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1199, allocations: 4 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1199, allocations: 4 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1202, allocations: 120.6 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.1211, allocations: 0.6976 MB / 473.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.1215, allocations: 154.5 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1217, allocations: 56.83 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1218, allocations: 7.938 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1218, allocations: 38.56 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1218, allocations: 0 / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001374/0.1232, allocations: 412.2 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1232, allocations: 55.41 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1234, allocations: 150.2 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1234, allocations: 29.7 kB / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1235, allocations: 120.3 kB / 474.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.1236, allocations: 63.02 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.1236, allocations: 37.7 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1237, allocations: 334.7 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1239, allocations: 71.91 kB / 475.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1241, allocations: 111.2 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.1245, allocations: 177.7 kB / 475.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1245, allocations: 0 / 475.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004674/0.125, allocations: 233.3 kB / 475.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.125, allocations: 4 kB / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.125, allocations: 0 / 475.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1251, allocations: 4 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1254, allocations: 51.89 kB / 475.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1254, allocations: 7.938 kB / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.1256, allocations: 15.98 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1256, allocations: 4 kB / 475.8 MB, free: 7.32 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.0001156/0.1257, allocations: 141.7 kB / 475.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.1257, allocations: 11.91 kB / 475.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.1258, allocations: 17.19 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1258, allocations: 7.984 kB / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1258, allocations: 0 / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1258, allocations: 0 / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.1268, allocations: 0.6319 MB / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1268, allocations: 0 / 476.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.1271, allocations: 47.89 kB / 476.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1271, allocations: 3.938 kB / 476.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1271, allocations: 8 kB / 476.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1271, allocations: 4 kB / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1271, allocations: 0 / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.1276, allocations: 305.5 kB / 476.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.1277, allocations: 104.9 kB / 477 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1278, allocations: 7.938 kB / 477 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.128, allocations: 19.98 kB / 477.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.1281, allocations: 11.98 kB / 477.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.1281, allocations: 11.98 kB / 477.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.475e-05/0.1282, allocations: 120 kB / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1282, allocations: 0 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1285, allocations: 40 kB / 477.2 MB, free: 5.738 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.0001084/0.1286, allocations: 99.72 kB / 477.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.129, allocations: 174.4 kB / 477.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.129, allocations: 0 / 477.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.1293, allocations: 91.89 kB / 477.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1296, allocations: 28.11 kB / 477.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.1304, allocations: 443.1 kB / 478.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1307, allocations: 0.721 MB / 478.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.1309, allocations: 33.41 kB / 478.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.131, allocations: 15.44 kB / 478.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.131, allocations: 0 / 478.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004263/0.1352, allocations: 1.868 MB / 480.7 MB, free: 2.234 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