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.0009718/0.0009716, allocations: 96.14 kB / 17 MB, free: 6.477 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.00118/0.00118, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.475/1.475, allocations: 223.3 MB / 241.9 MB, free: 324 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.2148/0.2148, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003424, allocations: 12 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003009/0.1382, allocations: 1.726 MB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1395, allocations: 0.4991 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.1397, allocations: 7.938 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.14, allocations: 15.86 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1402, allocations: 31.7 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.1407, allocations: 67.91 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.141, allocations: 175.1 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.1412, allocations: 37.53 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1415, allocations: 67.78 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1417, allocations: 79.66 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.1417, allocations: 4 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.1418, allocations: 8 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.1418, allocations: 23.91 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.1419, allocations: 53.64 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1421, allocations: 135.9 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1421, allocations: 0 / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1421, allocations: 0 / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1421, allocations: 0 / 474.5 MB, free: 10.74 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.0008647/0.143, allocations: 434.7 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1431, allocations: 16.03 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.071e-05/0.1431, allocations: 15.81 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1434, allocations: 207.4 kB / 475.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1434, allocations: 7.938 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.1435, allocations: 15.95 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1439, allocations: 169.6 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1439, allocations: 4 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1439, allocations: 8 kB / 475.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.144, allocations: 4 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.1443, allocations: 116.6 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009841/0.1453, allocations: 0.7014 MB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.1457, allocations: 154.5 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1458, allocations: 56.84 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1459, allocations: 0 / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1459, allocations: 46.5 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.143e-06/0.1459, allocations: 0 / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001427/0.1474, allocations: 446.1 kB / 476.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1474, allocations: 55.41 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1476, allocations: 150.2 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1476, allocations: 33.7 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.1477, allocations: 120.4 kB / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.1478, allocations: 74.88 kB / 477.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.1478, allocations: 4 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1479, allocations: 322.8 kB / 477.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1482, allocations: 71.95 kB / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.1484, allocations: 107.4 kB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1486, allocations: 79.97 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1486, allocations: 0 / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000498/0.1491, allocations: 239.7 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1491, allocations: 4 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1491, allocations: 4 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1492, allocations: 3.953 kB / 478.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.1495, allocations: 55.89 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1495, allocations: 4 kB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1496, allocations: 20.08 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1497, allocations: 8 kB / 478.2 MB, free: 6.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1498, allocations: 126.3 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1499, allocations: 15.81 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.1499, allocations: 25.17 kB / 478.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1499, allocations: 7.984 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1499, allocations: 3.953 kB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1499, allocations: 3.938 kB / 478.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.151, allocations: 0.6433 MB / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.151, allocations: 0 / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.1512, allocations: 55.89 kB / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1513, allocations: 0 / 479.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1513, allocations: 4 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1513, allocations: 4 kB / 479.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1513, allocations: 0 / 479.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.1518, allocations: 321.9 kB / 479.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.1519, allocations: 104.9 kB / 479.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.152, allocations: 7.953 kB / 479.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1522, allocations: 23.98 kB / 479.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.1523, allocations: 15.97 kB / 479.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1523, allocations: 8 kB / 479.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.052e-05/0.1524, allocations: 120 kB / 479.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 4 kB / 479.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1527, allocations: 40 kB / 479.7 MB, free: 5.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.1528, allocations: 95.25 kB / 479.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.1533, allocations: 191.9 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1533, allocations: 0 / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.1536, allocations: 95.89 kB / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1539, allocations: 23.92 kB / 480.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.1548, allocations: 469.4 kB / 480.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1551, allocations: 0.7211 MB / 481.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.1553, allocations: 33.41 kB / 481.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.1554, allocations: 23.36 kB / 481.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1554, allocations: 0 / 481.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005053/0.1604, allocations: 1.793 MB / 483.1 MB, free: 1.703 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