Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 103.8 kB / 16.27 MB, free: 5.973 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.001594/0.001594, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.555/1.555, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2226/0.2226, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001846/0.001846, allocations: 70.11 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1227, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.003674/0.1264, allocations: 1.611 MB / 442.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.1272, allocations: 0.6802 MB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.1273, allocations: 0 / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.1276, allocations: 31.84 kB / 442.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1278, allocations: 39.84 kB / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.1278, allocations: 0 / 442.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.128, allocations: 43.83 kB / 442.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.1281, allocations: 288 / 442.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.1281, allocations: 11.92 kB / 442.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.1282, allocations: 15.92 kB / 443 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1282, allocations: 3.938 kB / 443 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.1282, allocations: 12 kB / 443 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.1283, allocations: 15.92 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.1283, allocations: 23.8 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.1285, allocations: 67.75 kB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1285, allocations: 4 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1285, allocations: 0 / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1285, allocations: 0 / 443.1 MB, free: 4.348 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003237/0.1288, allocations: 363.3 kB / 443.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1289, allocations: 15.89 kB / 443.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1289, allocations: 4.844 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.129, allocations: 172.2 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.129, allocations: 4.312 kB / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.129, allocations: 4.375 kB / 443.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1292, allocations: 128.6 kB / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1292, allocations: 192 / 443.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1292, allocations: 7.875 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.1293, allocations: 23.98 kB / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.1294, allocations: 39.92 kB / 443.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1298, allocations: 0.8945 MB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.1298, allocations: 169.1 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.1299, allocations: 80.14 kB / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1299, allocations: 79.22 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1299, allocations: 121.9 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1299, allocations: 3.938 kB / 445.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.935e-05/0.13, allocations: 33.61 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.13, allocations: 130.7 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1302, allocations: 187 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.1302, allocations: 25.7 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.1303, allocations: 155.1 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-06/0.1303, allocations: 0 / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1303, allocations: 45.61 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.1304, allocations: 318.8 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1304, allocations: 31.97 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.1305, allocations: 168.1 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1306, allocations: 200.9 kB / 446.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1306, allocations: 0 / 446.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002362/0.1309, allocations: 201 kB / 446.6 MB, free: 420 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1309, allocations: 8 kB / 446.6 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1309, allocations: 4 kB / 446.6 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1309, allocations: 8.625 kB / 446.6 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.131, allocations: 39.91 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1311, allocations: 15.92 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.1311, allocations: 23.84 kB / 446.7 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1312, allocations: 8 kB / 446.7 MB, free: 312 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001021/0.1313, allocations: 221 kB / 446.9 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.1314, allocations: 116.8 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.1315, allocations: 108.9 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.338e-05/0.1316, allocations: 192.3 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-05/0.1316, allocations: 184.3 kB / 447.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-05/0.1317, allocations: 180.2 kB / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.132, allocations: 421.2 kB / 448.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.132, allocations: 104.9 kB / 448.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.1321, allocations: 108.9 kB / 448.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.1322, allocations: 180.3 kB / 448.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.1323, allocations: 180.2 kB / 448.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.65e-05/0.1324, allocations: 180.2 kB / 448.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.991e-05/0.1324, allocations: 184.3 kB / 449 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.1326, allocations: 307.7 kB / 449.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.1328, allocations: 197.9 kB / 449.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.133, allocations: 184.2 kB / 449.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.1331, allocations: 109 kB / 449.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.1332, allocations: 180.2 kB / 450 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.1332, allocations: 101 kB / 450.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1334, allocations: 131.2 kB / 450.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1334, allocations: 0 / 450.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.1337, allocations: 16 kB / 450.2 MB, free: 12.57 MB / 334.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 (0): * Single equations (assignments): 0 * 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.0006738/0.1344, allocations: 271.8 kB / 450.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.1346, allocations: 76.78 kB / 450.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1346, allocations: 3.938 kB / 450.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.1346, allocations: 3.938 kB / 450.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.135, allocations: 463.6 kB / 451 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.1354, allocations: 257.3 kB / 451.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1357, allocations: 0.7006 MB / 452 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1359, allocations: 45.03 kB / 452 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.1359, allocations: 19.42 kB / 452.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1359, allocations: 0 / 452.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of Templates: time 0.003197/0.1391, allocations: 0.6705 MB / 452.7 MB, free: 10.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches