Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.3 MB / 236 MB, free: 2.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008197, allocations: 88.09 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1776/0.1776, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.589e-05, allocations: 224 / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5079, allocations: 88.93 MB / 0.5886 GB, free: 416 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5082, allocations: 71.95 kB / 0.5886 GB, free: 344 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.5199, allocations: 4.794 MB / 0.5933 GB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5199, allocations: 3.828 kB / 0.5933 GB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.52, allocations: 0 / 0.5933 GB, free: 11.55 MB / 410.7 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.0004216/0.5204, allocations: 410.2 kB / 0.5937 GB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5204, allocations: 8.031 kB / 0.5937 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.5205, allocations: 11.81 kB / 0.5937 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.5207, allocations: 203.6 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.5208, allocations: 7.953 kB / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.5208, allocations: 4 kB / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5209, allocations: 61.61 kB / 0.594 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5209, allocations: 0 / 0.594 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.521, allocations: 4 kB / 0.594 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.521, allocations: 4 kB / 0.594 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.521, allocations: 20 kB / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.5215, allocations: 344.6 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.5217, allocations: 54.5 kB / 0.5944 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.5218, allocations: 20.98 kB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5218, allocations: 0 / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.5218, allocations: 34.56 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.5218, allocations: 0 / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006347/0.5225, allocations: 253.2 kB / 0.5947 GB, free: 9.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5225, allocations: 59.34 kB / 0.5947 GB, free: 9.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.5227, allocations: 195 kB / 0.5949 GB, free: 9.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5227, allocations: 25.7 kB / 0.5949 GB, free: 9.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.5228, allocations: 108.1 kB / 0.5951 GB, free: 9.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.5228, allocations: 35.45 kB / 0.5951 GB, free: 9.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.5228, allocations: 0 / 0.5951 GB, free: 9.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.523, allocations: 326.8 kB / 0.5954 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.523, allocations: 36 kB / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.5231, allocations: 35.98 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.5232, allocations: 46.92 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5232, allocations: 0 / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001843/0.5234, allocations: 129.4 kB / 0.5956 GB, free: 8.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5234, allocations: 4 kB / 0.5956 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5234, allocations: 0 / 0.5956 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5234, allocations: 4 kB / 0.5956 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5236, allocations: 39.92 kB / 0.5957 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.5236, allocations: 7.938 kB / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.5236, allocations: 8 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5237, allocations: 4 kB / 0.5957 GB, free: 8.879 MB / 410.7 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 () * 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 8.186e-05/0.5238, allocations: 109 kB / 0.5958 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.5238, allocations: 11.91 kB / 0.5958 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.5241, allocations: 163 kB / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5241, allocations: 0 / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5241, allocations: 0 / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5241, allocations: 7.953 kB / 0.596 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.5247, allocations: 484 kB / 0.5964 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5247, allocations: 0 / 0.5964 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5248, allocations: 36.03 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5248, allocations: 4 kB / 0.5965 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5248, allocations: 3.953 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.5248, allocations: 4.094 kB / 0.5965 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5248, allocations: 3.938 kB / 0.5965 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.5251, allocations: 268.3 kB / 0.5967 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.5252, allocations: 100.9 kB / 0.5968 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.5252, allocations: 0 / 0.5968 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.5253, allocations: 15.98 kB / 0.5969 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.5254, allocations: 11.98 kB / 0.5969 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.5254, allocations: 8 kB / 0.5969 GB, free: 7.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.5255, allocations: 159.2 kB / 0.597 GB, free: 7.387 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5256, allocations: 0 / 0.597 GB, free: 7.387 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.5258, allocations: 35.94 kB / 0.5971 GB, free: 7.352 MB / 410.7 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 () * 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.0009293/0.5267, allocations: 414.2 kB / 0.5975 GB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.5269, allocations: 95.84 kB / 0.5975 GB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5269, allocations: 0 / 0.5975 GB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.527, allocations: 51.92 kB / 0.5976 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.5272, allocations: 19.89 kB / 0.5976 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.5277, allocations: 243.5 kB / 0.5978 GB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.528, allocations: 0.7199 MB / 0.5986 GB, free: 5.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.5282, allocations: 40.52 kB / 0.5986 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.5282, allocations: 15.62 kB / 0.5986 GB, free: 5.828 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5282, allocations: 0 / 0.5986 GB, free: 5.828 MB / 410.7 MB Notification: Performance of Templates: time 0.004037/0.5323, allocations: 1.63 MB / 0.6002 GB, free: 4.207 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches