Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001447, allocations: 180.8 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.6 MB / 222.4 MB, free: 13.66 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007164/0.0007165, allocations: 86.23 kB / 270.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1962/0.1962, allocations: 43.69 MB / 362.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 58.85 MB / 491.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003319/0.1318, allocations: 1.317 MB / 492.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.133, allocations: 413 kB / 492.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.1331, allocations: 4 kB / 492.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.1341, allocations: 443.2 kB / 493.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005997/0.1347, allocations: 255.5 kB / 493.6 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006436/0.1354, allocations: 139.8 kB / 493.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.1357, allocations: 167.7 kB / 493.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1359, allocations: 20.27 kB / 493.9 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1361, allocations: 103.7 kB / 494 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.1365, allocations: 199.6 kB / 494.2 MB, free: 5.059 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1366, allocations: 4 kB / 494.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1367, allocations: 31.92 kB / 494.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1369, allocations: 79.7 kB / 494.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1371, allocations: 120.7 kB / 494.4 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.1375, allocations: 250.9 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.1375, allocations: 3.984 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1376, allocations: 0 / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1376, allocations: 0 / 494.7 MB, free: 4.57 MB / 330.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.0009558/0.1385, allocations: 0.5951 MB / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1386, allocations: 8.031 kB / 495.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.1387, allocations: 48.31 kB / 495.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1391, allocations: 292.2 kB / 495.6 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1391, allocations: 384 / 495.6 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1391, allocations: 4.375 kB / 495.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.1394, allocations: 73.77 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1394, allocations: 4 kB / 495.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1394, allocations: 0 / 495.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1395, allocations: 4 kB / 495.7 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1397, allocations: 43.97 kB / 495.7 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.1404, allocations: 408.6 kB / 496.1 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1406, allocations: 54.53 kB / 496.2 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1407, allocations: 32.94 kB / 496.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.1408, allocations: 4 kB / 496.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1408, allocations: 30.56 kB / 496.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.1408, allocations: 0 / 496.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001312/0.1421, allocations: 343.9 kB / 496.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1422, allocations: 55.41 kB / 496.6 MB, free: 2.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.1435, allocations: 0.8534 MB / 497.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1435, allocations: 25.7 kB / 497.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.1438, allocations: 216 kB / 497.7 MB, free: 1.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1439, allocations: 23.66 kB / 497.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.1439, allocations: 0 / 497.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1441, allocations: 366.7 kB / 498.1 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1444, allocations: 43.97 kB / 498.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1446, allocations: 47.97 kB / 498.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.1451, allocations: 108.7 kB / 498.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1451, allocations: 3.984 kB / 498.3 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005875/0.1457, allocations: 165.2 kB / 498.5 MB, free: 0.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1457, allocations: 8 kB / 498.5 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1458, allocations: 4 kB / 498.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1458, allocations: 3.938 kB / 498.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.146, allocations: 27.92 kB / 498.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.146, allocations: 0 / 498.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1462, allocations: 15.92 kB / 498.5 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1462, allocations: 4 kB / 498.5 MB, free: 492 kB / 330.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.000313/0.1465, allocations: 217.8 kB / 498.7 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.1466, allocations: 43.44 kB / 498.8 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.1473, allocations: 197.4 kB / 499 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1473, allocations: 0 / 499 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.1474, allocations: 0 / 499 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1474, allocations: 3.938 kB / 499 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1485, allocations: 0.5184 MB / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1486, allocations: 0 / 499.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1487, allocations: 23.98 kB / 499.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1488, allocations: 0 / 499.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1488, allocations: 7.938 kB / 499.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.1488, allocations: 11.94 kB / 499.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1488, allocations: 0 / 499.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.1494, allocations: 271 kB / 499.8 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1496, allocations: 112.5 kB / 499.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.1496, allocations: 7.922 kB / 499.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1498, allocations: 12 kB / 499.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1499, allocations: 7.984 kB / 499.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1499, allocations: 4 kB / 500 MB, free: 14.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009986/0.151, allocations: 0.6394 MB / 0.4889 GB, free: 14.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.151, allocations: 0 / 0.4889 GB, free: 14.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.1514, allocations: 27.98 kB / 0.4889 GB, free: 14.28 MB / 346.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.00142/0.1529, allocations: 465.4 kB / 0.4893 GB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.1534, allocations: 107.9 kB / 0.4894 GB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1534, allocations: 4 kB / 0.4894 GB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.1537, allocations: 51.97 kB / 0.4895 GB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.1543, allocations: 29.95 kB / 0.4895 GB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.156, allocations: 0.8922 MB / 0.4904 GB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1564, allocations: 0.8262 MB / 0.4912 GB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.1565, allocations: 28.36 kB / 0.4912 GB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.1566, allocations: 15.44 kB / 0.4912 GB, free: 11.95 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1566, allocations: 3.938 kB / 0.4912 GB, free: 11.95 MB / 346.7 MB Notification: Performance of Templates: time 0.004635/0.1612, allocations: 1.44 MB / 0.4926 GB, free: 10.51 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches