Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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 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 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 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.CombiTable2D.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001843, allocations: 105.3 kB / 16.27 MB, free: 6.41 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.00181/0.00181, allocations: 191.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 70 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1341, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.002818/0.137, allocations: 1.593 MB / 442.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005335/0.1375, allocations: 327.5 kB / 442.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.1376, allocations: 0 / 442.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.1379, allocations: 47.8 kB / 442.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1381, allocations: 55.75 kB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1384, allocations: 115.4 kB / 442.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1386, allocations: 63.78 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1387, allocations: 20.39 kB / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.1387, allocations: 35.91 kB / 442.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.1388, allocations: 35.84 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1388, allocations: 4 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.961e-05/0.1389, allocations: 31.97 kB / 442.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.139, allocations: 19.92 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.139, allocations: 27.75 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1392, allocations: 83.78 kB / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1392, allocations: 0 / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1392, allocations: 0 / 443 MB, free: 4.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1392, allocations: 0 / 443 MB, free: 4.43 MB / 318.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.0004075/0.1396, allocations: 403.1 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1397, allocations: 11.89 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.1397, allocations: 8.844 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1399, allocations: 185.4 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1399, allocations: 4.375 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1399, allocations: 12.31 kB / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1401, allocations: 61.55 kB / 443.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1401, allocations: 0 / 443.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1401, allocations: 8 kB / 443.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1401, allocations: 0 / 443.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1403, allocations: 35.91 kB / 443.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1406, allocations: 292.7 kB / 444 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1407, allocations: 50.5 kB / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.1408, allocations: 20.94 kB / 444 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1408, allocations: 0 / 444 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.1408, allocations: 38.55 kB / 444.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1408, allocations: 0 / 444.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006785/0.1415, allocations: 205.4 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.1416, allocations: 51.41 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1417, allocations: 172.8 kB / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.1417, allocations: 29.7 kB / 444.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.1417, allocations: 100 kB / 444.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1418, allocations: 19.66 kB / 444.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.1418, allocations: 29.7 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.1419, allocations: 314.8 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.142, allocations: 31.97 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.1421, allocations: 31.97 kB / 445 MB, free: 2.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1422, allocations: 80.81 kB / 445.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1423, allocations: 0 / 445.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002363/0.1425, allocations: 109.5 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1425, allocations: 8 kB / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1425, allocations: 0 / 445.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1426, allocations: 7.969 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1427, allocations: 19.98 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1427, allocations: 4 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.1427, allocations: 7.938 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1428, allocations: 7.984 kB / 445.3 MB, free: 1.895 MB / 318.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 5.738e-05/0.1428, allocations: 125.7 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1429, allocations: 7.906 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.1431, allocations: 122.3 kB / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1431, allocations: 0 / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1431, allocations: 3.938 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1432, allocations: 7.938 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.1435, allocations: 386.5 kB / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1435, allocations: 0 / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.1436, allocations: 23.98 kB / 445.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1436, allocations: 0 / 445.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1436, allocations: 3.938 kB / 445.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1436, allocations: 4 kB / 445.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1437, allocations: 3.984 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1439, allocations: 219.7 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.1439, allocations: 81.02 kB / 446.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1439, allocations: 11.88 kB / 446.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.144, allocations: 7.984 kB / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.1441, allocations: 4 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1441, allocations: 4 kB / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.1442, allocations: 135.2 kB / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1442, allocations: 0 / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1444, allocations: 12 kB / 446.4 MB, free: 0.6445 MB / 318.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.0008209/0.1452, allocations: 406.9 kB / 446.8 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1455, allocations: 83.86 kB / 446.9 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1455, allocations: 0 / 446.9 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1456, allocations: 39.97 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.146, allocations: 23.94 kB / 447 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.1464, allocations: 210 kB / 447.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1467, allocations: 0.7021 MB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.899e-05/0.1468, allocations: 8 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1468, allocations: 19.44 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1468, allocations: 0 / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Templates: time 0.004416/0.1512, allocations: 1.251 MB / 449.1 MB, free: 13.96 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches