Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001208/0.001208, allocations: 194 kB / 18.77 MB, free: 4.742 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.387/1.387, allocations: 222.9 MB / 242.5 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.221/0.221, allocations: 44.17 MB / 336.8 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 64.25 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.125, allocations: 60.84 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003075/0.1281, allocations: 1.66 MB / 470.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007675/0.1289, allocations: 451.1 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.1289, allocations: 4 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1295, allocations: 451.2 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1298, allocations: 235.6 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1301, allocations: 170.4 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1304, allocations: 159.7 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.1305, allocations: 20.17 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1306, allocations: 107.8 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1308, allocations: 203.6 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1308, allocations: 0 / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.1309, allocations: 27.98 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.131, allocations: 87.62 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.1311, allocations: 103 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1314, allocations: 176.1 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1314, allocations: 4 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1314, allocations: 0 / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1314, allocations: 4 kB / 473 MB, free: 11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006846/0.1321, allocations: 0.6298 MB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1321, allocations: 12.03 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.1322, allocations: 40.38 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1325, allocations: 304.1 kB / 474 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1325, allocations: 384 / 474 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1325, allocations: 4.375 kB / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1327, allocations: 57.62 kB / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1327, allocations: 0 / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1327, allocations: 0 / 474 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1327, allocations: 4 kB / 474 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1328, allocations: 39.89 kB / 474.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1333, allocations: 392.7 kB / 474.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1335, allocations: 46.56 kB / 474.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.1336, allocations: 20.94 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1336, allocations: 0 / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.1336, allocations: 30.56 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1337, allocations: 0 / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006063/0.1343, allocations: 239.9 kB / 474.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1343, allocations: 55.39 kB / 474.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.1351, allocations: 0.8651 MB / 475.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1351, allocations: 25.7 kB / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.1353, allocations: 228.1 kB / 476 MB, free: 7.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1353, allocations: 11.81 kB / 476 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.1354, allocations: 13.72 kB / 476 MB, free: 7.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1355, allocations: 374.8 kB / 476.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.1356, allocations: 23.92 kB / 476.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.1357, allocations: 19.98 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1358, allocations: 48.83 kB / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1358, allocations: 4 kB / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002235/0.1361, allocations: 125.1 kB / 476.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1361, allocations: 4 kB / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1361, allocations: 0 / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1361, allocations: 0 / 476.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.1362, allocations: 19.92 kB / 476.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1362, allocations: 0 / 476.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1363, allocations: 7.938 kB / 476.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1363, allocations: 0 / 476.6 MB, free: 7.164 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 0.0001851/0.1365, allocations: 214.3 kB / 476.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.1365, allocations: 43.53 kB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.1368, allocations: 137 kB / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1368, allocations: 0 / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1368, allocations: 0 / 477 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1368, allocations: 8.25 kB / 477 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.1374, allocations: 478.3 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1374, allocations: 0 / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.1375, allocations: 15.92 kB / 477.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1375, allocations: 0 / 477.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1375, allocations: 3.938 kB / 477.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1375, allocations: 4 kB / 477.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1375, allocations: 0 / 477.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1377, allocations: 215 kB / 477.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.1378, allocations: 112.5 kB / 477.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1378, allocations: 7.938 kB / 477.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.1379, allocations: 3.984 kB / 477.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.138, allocations: 4 kB / 477.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.138, allocations: 0 / 477.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005766/0.1386, allocations: 0.6511 MB / 478.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1386, allocations: 4 kB / 478.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1388, allocations: 20 kB / 478.5 MB, free: 5.16 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.0009053/0.1397, allocations: 399.8 kB / 478.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.14, allocations: 47.97 kB / 478.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.14, allocations: 3.938 kB / 478.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/0.1401, allocations: 31.97 kB / 479 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1405, allocations: 25.91 kB / 479 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1416, allocations: 0.9001 MB / 479.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.142, allocations: 0.8185 MB / 480.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.142, allocations: 15.44 kB / 480.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.142, allocations: 0 / 480.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Templates: time 0.006601/0.1486, allocations: 3.725 MB / 484.5 MB, free: 15.29 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches