Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001437, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001698/0.001698, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.33 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.2087/0.2087, allocations: 44.18 MB / 336.8 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 65.86 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1239, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003575/0.1275, allocations: 1.665 MB / 470.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.1284, allocations: 427.2 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.1285, allocations: 0 / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005577/0.1291, allocations: 447.2 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.1294, allocations: 247.6 kB / 471.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1298, allocations: 114.5 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1301, allocations: 155.6 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1302, allocations: 20.17 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1304, allocations: 99.8 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.1307, allocations: 199.6 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1307, allocations: 0 / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1309, allocations: 43.91 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.131, allocations: 83.69 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.1311, allocations: 95 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1313, allocations: 183.8 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1314, allocations: 0 / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1314, allocations: 0 / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1314, allocations: 0 / 472.9 MB, free: 11.06 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.0007474/0.1321, allocations: 0.63 MB / 473.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1322, allocations: 8.031 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.1323, allocations: 48.36 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1326, allocations: 288.3 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1326, allocations: 384 / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1326, allocations: 4.375 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1328, allocations: 61.59 kB / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1328, allocations: 0 / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1328, allocations: 0 / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1328, allocations: 0 / 473.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.133, allocations: 27.92 kB / 474 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.1335, allocations: 384.7 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1337, allocations: 38.56 kB / 474.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.1338, allocations: 20.94 kB / 474.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1338, allocations: 3.938 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1339, allocations: 34.56 kB / 474.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 4.458e-06/0.1339, allocations: 0 / 474.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007029/0.1346, allocations: 232.1 kB / 474.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1346, allocations: 55.41 kB / 474.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.1355, allocations: 0.8573 MB / 475.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1356, allocations: 29.7 kB / 475.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.1358, allocations: 220.1 kB / 475.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1358, allocations: 15.72 kB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1358, allocations: 17.7 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.136, allocations: 362.8 kB / 476.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.1361, allocations: 15.98 kB / 476.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1362, allocations: 15.98 kB / 476.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1363, allocations: 56.77 kB / 476.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1363, allocations: 0 / 476.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002179/0.1365, allocations: 109.1 kB / 476.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1366, allocations: 8 kB / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1366, allocations: 48 / 476.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1366, allocations: 3.984 kB / 476.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.1367, allocations: 15.98 kB / 476.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1367, allocations: 0 / 476.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.1367, allocations: 7.938 kB / 476.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1368, allocations: 8 kB / 476.4 MB, free: 7.293 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.0002066/0.137, allocations: 210.3 kB / 476.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.137, allocations: 43.44 kB / 476.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1373, allocations: 133 kB / 476.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1374, allocations: 3.984 kB / 476.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1374, allocations: 0 / 476.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1374, allocations: 7.938 kB / 476.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.1379, allocations: 454.9 kB / 477.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.138, allocations: 64 / 477.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.138, allocations: 12 kB / 477.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.138, allocations: 0 / 477.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.138, allocations: 3.938 kB / 477.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1381, allocations: 7.938 kB / 477.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1381, allocations: 0 / 477.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1383, allocations: 215 kB / 477.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.1384, allocations: 104.6 kB / 477.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1385, allocations: 11.88 kB / 477.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1386, allocations: 7.984 kB / 477.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1386, allocations: 0 / 477.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1386, allocations: 4 kB / 477.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00061/0.1392, allocations: 0.6472 MB / 478.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1392, allocations: 4 kB / 478.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1395, allocations: 23.98 kB / 478.3 MB, free: 5.316 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.0009709/0.1405, allocations: 406.3 kB / 478.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1407, allocations: 47.91 kB / 478.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1407, allocations: 0 / 478.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.1408, allocations: 27.98 kB / 478.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.1413, allocations: 27.78 kB / 478.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1426, allocations: 0.8883 MB / 479.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.143, allocations: 0.8184 MB / 480.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.1431, allocations: 15.44 kB / 480.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1431, allocations: 0 / 480.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Templates: time 0.008043/0.1512, allocations: 3.645 MB / 484.2 MB, free: 15.54 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches