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.001101/0.001101, allocations: 104 kB / 17.32 MB, free: 5.988 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.001132/0.001132, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.377/1.377, allocations: 222.9 MB / 241.9 MB, free: 13.77 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.2267/0.2267, allocations: 44.18 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.06 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1166, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003291/0.12, allocations: 2.123 MB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009405/0.1209, allocations: 0.5261 MB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1211, allocations: 4 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1212, allocations: 15.84 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1213, allocations: 35.7 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.1217, allocations: 63.86 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1219, allocations: 195.2 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1221, allocations: 45.52 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1223, allocations: 83.7 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1224, allocations: 83.67 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.1224, allocations: 19.98 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.855e-05/0.1225, allocations: 12 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.1225, allocations: 35.84 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.547e-05/0.1226, allocations: 79.64 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1228, allocations: 175.6 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1229, allocations: 4 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1229, allocations: 0 / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1229, allocations: 0 / 472.2 MB, free: 11.21 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.0009137/0.1238, allocations: 470.8 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1238, allocations: 11.97 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.1239, allocations: 16.75 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1242, allocations: 204.7 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1242, allocations: 12.38 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.1242, allocations: 16.12 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1246, allocations: 166.3 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1246, allocations: 3.906 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1246, allocations: 8 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.1247, allocations: 4 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.125, allocations: 108.6 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.1259, allocations: 0.7015 MB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.1263, allocations: 150.5 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1265, allocations: 64.83 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1265, allocations: 3.938 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1265, allocations: 34.5 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.1266, allocations: 4 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001369/0.1279, allocations: 412 kB / 474.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.128, allocations: 51.41 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1281, allocations: 154.2 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1282, allocations: 33.7 kB / 474.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.1282, allocations: 120.3 kB / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.1283, allocations: 63.02 kB / 475 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.1284, allocations: 45.7 kB / 475 MB, free: 8.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1286, allocations: 322.8 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1288, allocations: 67.95 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.1291, allocations: 114.8 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.1295, allocations: 181.4 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1295, allocations: 4 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004754/0.1299, allocations: 225.2 kB / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.13, allocations: 4 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.13, allocations: 7.984 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.13, allocations: 8.031 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.1303, allocations: 47.97 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1304, allocations: 3.938 kB / 476 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1305, allocations: 15.98 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1306, allocations: 8 kB / 476 MB, free: 7.145 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.0001172/0.1307, allocations: 133.7 kB / 476.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.1307, allocations: 11.91 kB / 476.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.1308, allocations: 29.19 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1308, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1308, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1308, allocations: 0 / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.1318, allocations: 0.6385 MB / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1318, allocations: 0 / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.1321, allocations: 43.97 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1321, allocations: 3.938 kB / 476.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1321, allocations: 4 kB / 476.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1321, allocations: 3.984 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1321, allocations: 0 / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.1326, allocations: 307.2 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1328, allocations: 104.9 kB / 477.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1328, allocations: 3.938 kB / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.133, allocations: 15.98 kB / 477.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.1331, allocations: 27.91 kB / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1331, allocations: 4 kB / 477.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.582e-05/0.1332, allocations: 120.1 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1332, allocations: 0 / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.1335, allocations: 40 kB / 477.5 MB, free: 5.566 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.0001224/0.1337, allocations: 99.72 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.1342, allocations: 182.4 kB / 477.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1342, allocations: 4 kB / 477.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.1344, allocations: 87.89 kB / 477.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1348, allocations: 30.41 kB / 477.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/0.1357, allocations: 441.6 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.136, allocations: 0.7208 MB / 479 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.1362, allocations: 29.34 kB / 479 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.1363, allocations: 35.36 kB / 479.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1363, allocations: 0 / 479.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Templates: time 0.005107/0.1414, allocations: 1.935 MB / 481 MB, free: 1.977 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