Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 104.1 kB / 17.63 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.001061/0.001061, allocations: 192 kB / 18.56 MB, free: 4.578 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.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.25 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.1979/0.1979, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 66.39 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003664/0.1337, allocations: 1.619 MB / 470.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1352, allocations: 1.031 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.1353, allocations: 0 / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.1355, allocations: 23.86 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1357, allocations: 43.77 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1361, allocations: 130.4 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1362, allocations: 59.84 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.1363, allocations: 24.11 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.1364, allocations: 19.92 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1365, allocations: 31.84 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1365, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1367, allocations: 51.97 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1367, allocations: 15.92 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.1367, allocations: 19.88 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.137, allocations: 103.7 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.137, allocations: 0 / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.137, allocations: 0 / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.137, allocations: 7.938 kB / 472.4 MB, free: 11.19 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.0004498/0.1375, allocations: 379.6 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1375, allocations: 15.97 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1375, allocations: 8.844 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1377, allocations: 184.2 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1378, allocations: 4.375 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1378, allocations: 384 / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.138, allocations: 91.25 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.138, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.138, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.138, allocations: 0 / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1381, allocations: 35.95 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1385, allocations: 284.7 kB / 473.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1386, allocations: 54.5 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.1387, allocations: 20.94 kB / 473.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1387, allocations: 4 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1387, allocations: 34.56 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1387, allocations: 0 / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007256/0.1395, allocations: 201.3 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.1395, allocations: 81.11 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1397, allocations: 141 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1397, allocations: 25.7 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.1398, allocations: 104 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.1398, allocations: 23.66 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.1398, allocations: 17.72 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.1399, allocations: 318.8 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.14, allocations: 31.97 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1402, allocations: 45.69 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1404, allocations: 72.81 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1404, allocations: 3.938 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002545/0.1406, allocations: 109.5 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1407, allocations: 8 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1407, allocations: 4.031 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1407, allocations: 0 / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1408, allocations: 19.98 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1408, allocations: 0 / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.1409, allocations: 11.92 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1409, allocations: 4 kB / 474.7 MB, free: 8.66 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 (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 7.69e-05/0.141, allocations: 121.8 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.141, allocations: 11.84 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.1414, allocations: 134.2 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1414, allocations: 0 / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1414, allocations: 4 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1414, allocations: 3.938 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.1419, allocations: 390.5 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1419, allocations: 0 / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.142, allocations: 19.98 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.142, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.142, allocations: 3.938 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.142, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.142, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1423, allocations: 207.4 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.1424, allocations: 85 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1424, allocations: 7.938 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.1425, allocations: 11.94 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1426, allocations: 7.984 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1426, allocations: 0 / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.1427, allocations: 107.3 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1427, allocations: 0 / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1429, allocations: 27.98 kB / 475.8 MB, free: 7.434 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 (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.0009189/0.1438, allocations: 441.2 kB / 476.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.1441, allocations: 83.88 kB / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1442, allocations: 0 / 476.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.1443, allocations: 39.97 kB / 476.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1446, allocations: 19.98 kB / 476.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.1451, allocations: 182.1 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1453, allocations: 0.7002 MB / 477.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.1454, allocations: 16.25 kB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1454, allocations: 19.42 kB / 477.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1454, allocations: 7.875 kB / 477.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Templates: time 0.004028/0.1495, allocations: 1.502 MB / 478.8 MB, free: 4.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches