Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 98.67 kB / 16.99 MB, free: 6.402 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.001075/0.001075, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.415/1.415, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2273/0.2273, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002363/0.1435, allocations: 1.326 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.1442, allocations: 375.5 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.1443, allocations: 4 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.1448, allocations: 439.2 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1452, allocations: 235.5 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1455, allocations: 118.8 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1457, allocations: 115.8 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.1458, allocations: 11.98 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1459, allocations: 103.8 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1461, allocations: 147.7 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1462, allocations: 4 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.1462, allocations: 27.94 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.1463, allocations: 83.73 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1464, allocations: 65.52 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1466, allocations: 199.9 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1466, allocations: 0 / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1466, allocations: 4 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1467, allocations: 0 / 474.7 MB, free: 10.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007203/0.1474, allocations: 0.5988 MB / 475.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1474, allocations: 8.562 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.1475, allocations: 43.44 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1478, allocations: 271.4 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1478, allocations: 4 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1479, allocations: 7.984 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.148, allocations: 65.58 kB / 475.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1481, allocations: 3.906 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1481, allocations: 3.984 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1481, allocations: 0 / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1482, allocations: 35.97 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.1487, allocations: 408.6 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1488, allocations: 38.56 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1489, allocations: 7.938 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1489, allocations: 34.56 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1489, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001041/0.15, allocations: 335.9 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.15, allocations: 51.41 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/0.1509, allocations: 0.8613 MB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1509, allocations: 29.7 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1511, allocations: 224 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1512, allocations: 31.56 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1512, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1514, allocations: 370.7 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.1515, allocations: 23.98 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.1515, allocations: 27.98 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.1516, allocations: 35.98 kB / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1516, allocations: 0 / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002715/0.1519, allocations: 141.1 kB / 478.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.152, allocations: 4 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.152, allocations: 4 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.152, allocations: 4 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1521, allocations: 23.92 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1521, allocations: 0 / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1522, allocations: 8 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1522, allocations: 4 kB / 478.3 MB, free: 6.602 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 (8): * Single equations (assignments): 8 * 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.0002066/0.1524, allocations: 217.7 kB / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.1525, allocations: 43.44 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.1528, allocations: 173.6 kB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1529, allocations: 0 / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1529, allocations: 0 / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1529, allocations: 0 / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.1536, allocations: 0.5109 MB / 479.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1536, allocations: 0 / 479.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.1537, allocations: 19.98 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1537, allocations: 32 / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1537, allocations: 8 kB / 479.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1537, allocations: 0 / 479.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1537, allocations: 7.938 kB / 479.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.154, allocations: 261.5 kB / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.1541, allocations: 112.5 kB / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1541, allocations: 0 / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.1542, allocations: 19.94 kB / 479.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.1543, allocations: 4.422 kB / 479.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1543, allocations: 0 / 479.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006235/0.1549, allocations: 0.6588 MB / 480.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1549, allocations: 7.938 kB / 480.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1552, allocations: 31.98 kB / 480.4 MB, free: 4.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001031/0.1563, allocations: 450.9 kB / 480.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1565, allocations: 79.89 kB / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1565, allocations: 0 / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.1566, allocations: 35.98 kB / 480.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1569, allocations: 30.02 kB / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.158, allocations: 0.8501 MB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.1585, allocations: 0.8301 MB / 482.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.1586, allocations: 24.7 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.1586, allocations: 15.44 kB / 482.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1586, allocations: 0 / 482.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Templates: time 0.005163/0.1638, allocations: 1.598 MB / 484.3 MB, free: 0.6523 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches