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.001805/0.001805, allocations: 109.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.002146/0.002147, allocations: 184.1 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.429/1.429, allocations: 222.9 MB / 243 MB, free: 15.15 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.211/0.211, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.002221, allocations: 68.28 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003194/0.1243, allocations: 2.07 MB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.1253, allocations: 0.5299 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.1253, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1255, allocations: 23.8 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.973e-05/0.1256, allocations: 51.55 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1259, allocations: 75.84 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1261, allocations: 191.1 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1263, allocations: 45.53 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1264, allocations: 91.69 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1265, allocations: 75.67 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.1266, allocations: 19.94 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.1266, allocations: 12 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.1267, allocations: 35.84 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.1268, allocations: 83.62 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.127, allocations: 179.4 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.127, allocations: 4 kB / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.127, allocations: 0 / 474.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.127, allocations: 0 / 474.2 MB, free: 10.17 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.0007702/0.1278, allocations: 462.8 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1278, allocations: 15.97 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.1279, allocations: 16.75 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1282, allocations: 208.7 kB / 474.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1282, allocations: 8.375 kB / 474.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.1283, allocations: 16.12 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.1286, allocations: 160.6 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1287, allocations: 7.906 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1287, allocations: 8 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1287, allocations: 4 kB / 475.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.129, allocations: 116.6 kB / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009803/0.13, allocations: 0.6898 MB / 475.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.1305, allocations: 154.4 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1306, allocations: 60.84 kB / 476.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1307, allocations: 7.922 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1307, allocations: 34.56 kB / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.1307, allocations: 0 / 476.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00134/0.132, allocations: 420.3 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1322, allocations: 51.41 kB / 476.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1323, allocations: 154.2 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1324, allocations: 29.7 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.1325, allocations: 116.3 kB / 476.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.1325, allocations: 74.98 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.1326, allocations: 41.7 kB / 477 MB, free: 7.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1327, allocations: 322.8 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1329, allocations: 71.95 kB / 477.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.1331, allocations: 106.9 kB / 477.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.1335, allocations: 181.9 kB / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1335, allocations: 0 / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004485/0.134, allocations: 221.4 kB / 477.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.134, allocations: 8.031 kB / 477.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.134, allocations: 4 kB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.134, allocations: 3.938 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1343, allocations: 59.89 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1343, allocations: 0 / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.1345, allocations: 11.98 kB / 477.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1345, allocations: 12 kB / 478 MB, free: 6.109 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.0001039/0.1346, allocations: 137.7 kB / 478.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.1347, allocations: 11.91 kB / 478.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.1347, allocations: 29.17 kB / 478.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.1348, allocations: 3.984 kB / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1348, allocations: 0 / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1348, allocations: 0 / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.1358, allocations: 0.6278 MB / 478.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1358, allocations: 0 / 478.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.1361, allocations: 43.91 kB / 478.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1361, allocations: 3.938 kB / 478.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1361, allocations: 8 kB / 478.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1361, allocations: 0 / 478.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1361, allocations: 0 / 478.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.1366, allocations: 305.8 kB / 479.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.782e-05/0.1367, allocations: 108.9 kB / 479.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1367, allocations: 7.938 kB / 479.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1369, allocations: 11.98 kB / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.137, allocations: 23.91 kB / 479.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.137, allocations: 8 kB / 479.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.1371, allocations: 124 kB / 479.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 479.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1374, allocations: 36 kB / 479.4 MB, free: 4.531 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.0001136/0.1375, allocations: 99.25 kB / 479.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.138, allocations: 179.9 kB / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.138, allocations: 0 / 479.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1382, allocations: 94.3 kB / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1386, allocations: 27.42 kB / 479.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.1394, allocations: 373.5 kB / 480.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1397, allocations: 0.7247 MB / 480.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1398, allocations: 29.41 kB / 480.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.1399, allocations: 23.38 kB / 481 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1399, allocations: 0 / 481 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Templates: time 0.004766/0.1447, allocations: 2.01 MB / 483 MB, free: 0.9453 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 cvode -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