Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001159/0.001159, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.327/1.327, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2001/0.2001, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.73 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00288/0.1279, allocations: 1.541 MB / 470.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.1287, allocations: 411.2 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.1288, allocations: 4 kB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.129, allocations: 23.86 kB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1291, allocations: 31.84 kB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1294, allocations: 114.5 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1296, allocations: 59.84 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.1297, allocations: 7.984 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.1297, allocations: 19.92 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.1298, allocations: 27.86 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1298, allocations: 0 / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.1299, allocations: 31.98 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1299, allocations: 15.88 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.13, allocations: 27.84 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1301, allocations: 71.8 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1301, allocations: 0 / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1301, allocations: 0 / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1301, allocations: 4 kB / 471.6 MB, free: 11.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003935/0.1305, allocations: 367.6 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1306, allocations: 12.03 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1306, allocations: 8.844 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1308, allocations: 188.1 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1308, allocations: 4.375 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1308, allocations: 4.312 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.131, allocations: 53.75 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.131, allocations: 7.891 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.131, allocations: 0 / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1311, allocations: 3.984 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.1312, allocations: 27.98 kB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1315, allocations: 276.9 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1318, allocations: 50.5 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1318, allocations: 20.94 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1319, allocations: 4 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1319, allocations: 34.56 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1319, allocations: 0 / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005401/0.1324, allocations: 145.3 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1325, allocations: 51.41 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.1326, allocations: 149 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1326, allocations: 29.7 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.1327, allocations: 92.12 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1327, allocations: 15.81 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1328, allocations: 17.72 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.1329, allocations: 318.8 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.1329, allocations: 19.98 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.133, allocations: 23.98 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1331, allocations: 60.75 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1331, allocations: 0 / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.1333, allocations: 81.58 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1333, allocations: 8 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1333, allocations: 0 / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1334, allocations: 0 / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.1334, allocations: 15.98 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1334, allocations: 3.984 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.1335, allocations: 4 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1335, allocations: 7.984 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 7.292e-05/0.1336, allocations: 121.7 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1336, allocations: 11.91 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1339, allocations: 93.91 kB / 473.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1339, allocations: 11.92 kB / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1339, allocations: 0 / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1339, allocations: 0 / 473.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.1343, allocations: 350.8 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1343, allocations: 0 / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1343, allocations: 19.92 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1343, allocations: 0 / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1343, allocations: 4 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1344, allocations: 7.938 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1344, allocations: 0 / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.1346, allocations: 179.4 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.1346, allocations: 81.02 kB / 474.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1346, allocations: 4 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.1347, allocations: 7.922 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.1347, allocations: 15.94 kB / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1347, allocations: 0 / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.1348, allocations: 111.2 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1348, allocations: 0 / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1351, allocations: 12 kB / 474.7 MB, free: 8.586 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 (5): * Single equations (assignments): 5 * 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.0007869/0.1359, allocations: 408.1 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.136, allocations: 51.97 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1361, allocations: 0 / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.1361, allocations: 31.91 kB / 475.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1364, allocations: 23.02 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.1367, allocations: 185.4 kB / 475.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.137, allocations: 0.6924 MB / 476.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.137, allocations: 11.98 kB / 476.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.137, allocations: 11.44 kB / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.137, allocations: 0 / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of Templates: time 0.003008/0.1401, allocations: 1.095 MB / 477.2 MB, free: 6.199 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches