Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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_cpp_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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_cpp_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00081/0.0008101, allocations: 173.5 kB / 16.72 MB, free: 5.078 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.239/1.239, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007072/0.0007074, allocations: 85.55 kB / 271.2 MB, free: 8.242 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.2931/0.2931, allocations: 43.56 MB / 363.1 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006012/0.0006012, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1249, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.001841/0.1268, allocations: 1.317 MB / 492.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005142/0.1273, allocations: 315.8 kB / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.1273, allocations: 0 / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.1278, allocations: 439.2 kB / 492.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1281, allocations: 239.5 kB / 493.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1284, allocations: 103.8 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1286, allocations: 131.7 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.1287, allocations: 12.17 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.1288, allocations: 103.7 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.129, allocations: 171.7 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.129, allocations: 0 / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.1291, allocations: 28 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1292, allocations: 83.72 kB / 493.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.1293, allocations: 116.8 kB / 493.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1295, allocations: 179.7 kB / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1295, allocations: 0 / 494 MB, free: 7.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1296, allocations: 8 kB / 494 MB, free: 7.672 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1296, allocations: 0 / 494 MB, free: 7.672 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.0006742/0.1302, allocations: 0.5952 MB / 494.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1303, allocations: 12.03 kB / 494.6 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1303, allocations: 36.47 kB / 494.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1306, allocations: 296.1 kB / 495 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1306, allocations: 4.375 kB / 495 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1306, allocations: 384 / 495 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1308, allocations: 69.61 kB / 495 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1308, allocations: 4 kB / 495 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1309, allocations: 0 / 495 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1309, allocations: 0 / 495 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.131, allocations: 47.97 kB / 495.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.1314, allocations: 388.6 kB / 495.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1316, allocations: 46.56 kB / 495.5 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.1316, allocations: 28.94 kB / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1317, allocations: 0 / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1317, allocations: 34.56 kB / 495.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1317, allocations: 0 / 495.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007882/0.1325, allocations: 327.8 kB / 495.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1325, allocations: 51.41 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/0.1333, allocations: 0.8573 MB / 496.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1333, allocations: 25.7 kB / 496.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1335, allocations: 208.1 kB / 497 MB, free: 4.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.1335, allocations: 27.64 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.1335, allocations: 4 kB / 497.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1336, allocations: 358.8 kB / 497.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1337, allocations: 39.91 kB / 497.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.1339, allocations: 51.97 kB / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.1341, allocations: 88.81 kB / 497.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1341, allocations: 0 / 497.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003022/0.1344, allocations: 161.1 kB / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1344, allocations: 8 kB / 497.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1344, allocations: 0 / 497.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1344, allocations: 0 / 497.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1346, allocations: 27.92 kB / 497.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1346, allocations: 0 / 497.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.1346, allocations: 15.92 kB / 497.8 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1347, allocations: 8 kB / 497.8 MB, free: 3.676 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.1349, allocations: 217.8 kB / 498 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.1349, allocations: 39.72 kB / 498 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.1353, allocations: 185.7 kB / 498.2 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1353, allocations: 3.984 kB / 498.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1353, allocations: 0 / 498.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1353, allocations: 7.922 kB / 498.2 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.1359, allocations: 0.4945 MB / 498.7 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1359, allocations: 4 kB / 498.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.136, allocations: 23.98 kB / 498.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.136, allocations: 0 / 498.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.136, allocations: 7.938 kB / 498.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.136, allocations: 4 kB / 498.8 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.136, allocations: 0 / 498.8 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1363, allocations: 255 kB / 499 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1364, allocations: 116.5 kB / 499.1 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1364, allocations: 3.938 kB / 499.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/0.1365, allocations: 19.98 kB / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1366, allocations: 0 / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1366, allocations: 12 kB / 499.2 MB, free: 2.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005244/0.1371, allocations: 0.6472 MB / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1371, allocations: 0 / 499.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000233/0.1373, allocations: 20 kB / 499.8 MB, free: 1.523 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 (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.000781/0.1381, allocations: 401.8 kB / 0.4885 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.1384, allocations: 95.88 kB / 0.4886 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1384, allocations: 0 / 0.4886 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1385, allocations: 47.97 kB / 0.4886 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1389, allocations: 29.89 kB / 0.4887 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009952/0.1399, allocations: 0.8666 MB / 0.4895 GB, free: 96 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1736/0.3135, allocations: 0.821 MB / 0.4903 GB, free: 42.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.3136, allocations: 19.95 kB / 0.4903 GB, free: 42.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3136, allocations: 0.8125 kB / 0.4903 GB, free: 42.82 MB / 378.7 MB Notification: Performance of Templates: time 0.007518/0.3212, allocations: 3.686 MB / 0.4939 GB, free: 42.21 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches