Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001003, allocations: 97.47 kB / 17 MB, free: 6.418 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.001078/0.001078, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.553/1.553, allocations: 223.3 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002399/0.1394, allocations: 1.275 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.1402, allocations: 371.6 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.1402, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.141, allocations: 439.2 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.1414, allocations: 235.6 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1419, allocations: 115.1 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1422, allocations: 127.7 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1423, allocations: 12 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1425, allocations: 95.73 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.1428, allocations: 159.8 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1428, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.1429, allocations: 19.92 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.143, allocations: 83.73 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.1431, allocations: 65.52 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1434, allocations: 167.8 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1434, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1434, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1434, allocations: 0 / 474.7 MB, free: 10.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001155/0.1446, allocations: 0.5912 MB / 475.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.1447, allocations: 12.03 kB / 475.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.1447, allocations: 35.53 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.1452, allocations: 275.4 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1452, allocations: 0 / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.1452, allocations: 7.953 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1454, allocations: 49.69 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1455, allocations: 7.984 kB / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1455, allocations: 0 / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1455, allocations: 0 / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1456, allocations: 31.92 kB / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.1462, allocations: 368.8 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1464, allocations: 34.56 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.22e-05/0.1464, allocations: 16.91 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1465, allocations: 4 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1465, allocations: 30.56 kB / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 3.747e-06/0.1465, allocations: 0 / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.1469, allocations: 105.1 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.147, allocations: 55.41 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.1482, allocations: 0.8575 MB / 477.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1482, allocations: 29.64 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.1485, allocations: 224.1 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1485, allocations: 3.906 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.1485, allocations: 0 / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002732/0.1488, allocations: 362.8 kB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.1489, allocations: 11.98 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/0.1489, allocations: 12 kB / 477.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.149, allocations: 11.98 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.149, allocations: 0 / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.1492, allocations: 93.16 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1492, allocations: 6.5 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1493, allocations: 4 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1493, allocations: 4.094 kB / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.1494, allocations: 7.938 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1494, allocations: 0 / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.1495, allocations: 7.984 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1495, allocations: 0 / 477.9 MB, free: 7.105 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 (2): * Single equations (assignments): 2 * 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.0004071/0.1499, allocations: 210.3 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.15, allocations: 39.44 kB / 478.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.1503, allocations: 120.5 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1503, allocations: 0 / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1503, allocations: 0 / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1503, allocations: 0 / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1508, allocations: 281.5 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1508, allocations: 0 / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1509, allocations: 11.98 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1509, allocations: 0 / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1509, allocations: 0 / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1509, allocations: 4.031 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1509, allocations: 0 / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1512, allocations: 187 kB / 478.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1513, allocations: 112.6 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1514, allocations: 7.938 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1515, allocations: 4.031 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1516, allocations: 4 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1516, allocations: 0 / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009829/0.1526, allocations: 0.6511 MB / 479.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1526, allocations: 0 / 479.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.1531, allocations: 15.94 kB / 479.6 MB, free: 5.375 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 (2): * Single equations (assignments): 2 * 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.001207/0.1543, allocations: 357.8 kB / 479.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1545, allocations: 27.98 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1545, allocations: 0 / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.1545, allocations: 16.06 kB / 480 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.1551, allocations: 20.61 kB / 480 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1566, allocations: 0.8015 MB / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.1572, allocations: 0.8145 MB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.1573, allocations: 7.984 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.1573, allocations: 15.44 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1573, allocations: 0 / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of Templates: time 0.006158/0.1635, allocations: 1.147 MB / 482.8 MB, free: 2.258 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches