Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 96 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3831/0.3831, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003305/0.1306, allocations: 1.675 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.1313, allocations: 331.5 kB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.1314, allocations: 4 kB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.132, allocations: 455.2 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1323, allocations: 235.5 kB / 489.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1327, allocations: 99.88 kB / 489.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1329, allocations: 163.6 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.133, allocations: 16.17 kB / 490 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1332, allocations: 99.8 kB / 490.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1334, allocations: 207.6 kB / 490.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1334, allocations: 0 / 490.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.763e-05/0.1335, allocations: 35.97 kB / 490.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1337, allocations: 83.69 kB / 490.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.1338, allocations: 102.9 kB / 490.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.134, allocations: 251.2 kB / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1341, allocations: 0 / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1341, allocations: 0 / 490.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1341, allocations: 0 / 490.7 MB, free: 8.812 MB / 378.7 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.0008521/0.1349, allocations: 0.6337 MB / 491.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.135, allocations: 12.03 kB / 491.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.1351, allocations: 40.38 kB / 491.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1354, allocations: 288.2 kB / 491.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1354, allocations: 8.359 kB / 491.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1354, allocations: 384 / 491.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1356, allocations: 65.55 kB / 491.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1356, allocations: 0 / 491.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1356, allocations: 0 / 491.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1356, allocations: 4 kB / 491.8 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1358, allocations: 39.97 kB / 491.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.1362, allocations: 380.7 kB / 492.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1364, allocations: 46.5 kB / 492.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.1365, allocations: 24.94 kB / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1365, allocations: 0 / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1365, allocations: 38.5 kB / 492.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1365, allocations: 0 / 492.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008102/0.1374, allocations: 287.9 kB / 492.6 MB, free: 6.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.1374, allocations: 51.41 kB / 492.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.1382, allocations: 0.8612 MB / 493.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1383, allocations: 25.7 kB / 493.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1384, allocations: 208.1 kB / 493.7 MB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1384, allocations: 19.66 kB / 493.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1385, allocations: 33.64 kB / 493.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1386, allocations: 358.8 kB / 494.1 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1388, allocations: 27.97 kB / 494.1 MB, free: 5.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.721e-05/0.1389, allocations: 31.97 kB / 494.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1391, allocations: 80.75 kB / 494.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1391, allocations: 0 / 494.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002923/0.1394, allocations: 145.3 kB / 494.4 MB, free: 4.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1394, allocations: 4 kB / 494.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.1394, allocations: 4 kB / 494.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1395, allocations: 0 / 494.4 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1396, allocations: 20.27 kB / 494.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1396, allocations: 4 kB / 494.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.1397, allocations: 15.92 kB / 494.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1397, allocations: 4 kB / 494.4 MB, free: 4.867 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.0001871/0.1399, allocations: 221.7 kB / 494.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.14, allocations: 43.44 kB / 494.7 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.1403, allocations: 165.4 kB / 494.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1403, allocations: 0 / 494.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1403, allocations: 4 kB / 494.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/0.1404, allocations: 3.938 kB / 494.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.141, allocations: 494.4 kB / 495.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.141, allocations: 0 / 495.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.1411, allocations: 23.98 kB / 495.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1411, allocations: 0 / 495.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1411, allocations: 7.938 kB / 495.4 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1411, allocations: 4 kB / 495.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1411, allocations: 0 / 495.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.1419, allocations: 0.9103 MB / 496.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.142, allocations: 112.5 kB / 496.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.142, allocations: 0 / 496.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.1421, allocations: 7.984 kB / 496.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.1422, allocations: 7.984 kB / 496.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1422, allocations: 0 / 496.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006172/0.1428, allocations: 0.6472 MB / 497.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1428, allocations: 4 kB / 497.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.1432, allocations: 28 kB / 497.1 MB, free: 2.055 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.0008548/0.1441, allocations: 406.1 kB / 497.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1443, allocations: 75.92 kB / 497.6 MB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1443, allocations: 0 / 497.6 MB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1445, allocations: 51.91 kB / 497.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1449, allocations: 26.5 kB / 497.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1461, allocations: 0.9913 MB / 498.6 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1465, allocations: 0.8302 MB / 499.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.1466, allocations: 8.297 kB / 499.5 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.1467, allocations: 15.42 kB / 499.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1467, allocations: 0 / 499.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of Templates: time 0.00464/0.1513, allocations: 1.487 MB / 0.4892 GB, free: 14.16 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches