Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 95.78 kB / 17 MB, free: 6.117 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.001373/0.001373, allocations: 179.4 kB / 17.89 MB, free: 5.695 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.576/1.576, allocations: 223.3 MB / 241.9 MB, free: 220 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.2199/0.2199, allocations: 44.26 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 14.08 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002223/0.144, allocations: 1.333 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.1449, allocations: 403.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.145, allocations: 7.938 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1453, allocations: 59.84 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1454, allocations: 35.91 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1459, allocations: 159.2 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1461, allocations: 71.77 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1462, allocations: 15.98 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.1462, allocations: 23.91 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.1463, allocations: 31.84 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1464, allocations: 8 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1465, allocations: 39.98 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1466, allocations: 23.91 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.1466, allocations: 37.64 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1467, allocations: 76.17 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1468, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1468, allocations: 3.938 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1468, allocations: 0 / 473.9 MB, free: 11.37 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.0005529/0.1473, allocations: 402.9 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1474, allocations: 8.562 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1474, allocations: 11.84 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1477, allocations: 195.4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1477, allocations: 8 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1477, allocations: 0 / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1479, allocations: 69.62 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1479, allocations: 0 / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1479, allocations: 8 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.148, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1481, allocations: 51.89 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.1486, allocations: 324.7 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1489, allocations: 62.58 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.149, allocations: 36.97 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.149, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.149, allocations: 30.56 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.149, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.1505, allocations: 497.2 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1505, allocations: 51.41 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1507, allocations: 190.4 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1507, allocations: 29.64 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1508, allocations: 112 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1509, allocations: 39.45 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.1509, allocations: 0 / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.151, allocations: 326.8 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1512, allocations: 59.95 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1513, allocations: 63.95 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1515, allocations: 63.97 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1515, allocations: 0 / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000335/0.1518, allocations: 189.7 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1518, allocations: 4 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1519, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1519, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.152, allocations: 35.92 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.152, allocations: 3.938 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.1521, allocations: 15.98 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1521, allocations: 3.953 kB / 476.7 MB, free: 8.312 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 (11): * Single equations (assignments): 11 * 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.0001198/0.1522, allocations: 129.8 kB / 476.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1523, allocations: 11.91 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.1527, allocations: 206.2 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1527, allocations: 7.984 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1527, allocations: 0 / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1527, allocations: 0 / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007005/0.1534, allocations: 0.5039 MB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1534, allocations: 0 / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1535, allocations: 35.92 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1535, allocations: 3.984 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1536, allocations: 8.062 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1536, allocations: 3.953 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1536, allocations: 0 / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.154, allocations: 292.9 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1541, allocations: 85.02 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1541, allocations: 4 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.1542, allocations: 11.98 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1542, allocations: 19.94 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1543, allocations: 8.188 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1544, allocations: 133.5 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1544, allocations: 0 / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1546, allocations: 31.92 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001218/0.1559, allocations: 464.5 kB / 478.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.1562, allocations: 139.9 kB / 478.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1562, allocations: 0 / 478.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1564, allocations: 75.89 kB / 478.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1568, allocations: 24.11 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.1574, allocations: 330.7 kB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1578, allocations: 0.7082 MB / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1579, allocations: 36.38 kB / 480 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.158, allocations: 19.44 kB / 480 MB, free: 5.059 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.158, allocations: 0 / 480 MB, free: 5.059 MB / 350.1 MB Notification: Performance of Templates: time 0.004599/0.1626, allocations: 1.452 MB / 481.4 MB, free: 3.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches