Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008602/0.0008601, allocations: 187 kB / 18.09 MB, free: 3.723 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.268/1.268, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007528/0.0007528, allocations: 99.72 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2924/0.2924, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 16 kB / 461.1 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 61.87 MB / 0.5107 GB, free: 38.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3873, allocations: 89.22 MB / 0.5978 GB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.3875, allocations: 79.94 kB / 0.5979 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.3989, allocations: 4.726 MB / 0.6025 GB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.399, allocations: 0 / 0.6025 GB, free: 1.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.399, allocations: 8 kB / 0.6025 GB, free: 1.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000432/0.3994, allocations: 391.2 kB / 0.6029 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3995, allocations: 16.02 kB / 0.6029 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3995, allocations: 8.844 kB / 0.6029 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3998, allocations: 206.2 kB / 0.6031 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3998, allocations: 384 / 0.6031 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3998, allocations: 4.375 kB / 0.6031 GB, free: 316 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4, allocations: 79.95 kB / 0.6032 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4, allocations: 192 / 0.6032 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4, allocations: 7.938 kB / 0.6032 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.4, allocations: 0 / 0.6032 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4002, allocations: 51.94 kB / 0.6033 GB, free: 164 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.4006, allocations: 316.8 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.4008, allocations: 50.55 kB / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.4008, allocations: 28.94 kB / 0.6037 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.4009, allocations: 8 kB / 0.6037 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4009, allocations: 30.56 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4009, allocations: 0 / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007363/0.4016, allocations: 261.3 kB / 0.6039 GB, free: 15.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4017, allocations: 77.11 kB / 0.604 GB, free: 15.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.4018, allocations: 139.2 kB / 0.6041 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4018, allocations: 29.7 kB / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.4019, allocations: 92.12 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4019, allocations: 27.72 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.4019, allocations: 3.938 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.402, allocations: 322.8 kB / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4022, allocations: 51.91 kB / 0.6046 GB, free: 14.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4023, allocations: 65.75 kB / 0.6047 GB, free: 14.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4025, allocations: 104.9 kB / 0.6048 GB, free: 14.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4025, allocations: 4.031 kB / 0.6048 GB, free: 14.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002729/0.4028, allocations: 133.6 kB / 0.6049 GB, free: 14.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4028, allocations: 4 kB / 0.6049 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4028, allocations: 7.984 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4028, allocations: 3.984 kB / 0.605 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.403, allocations: 27.92 kB / 0.605 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.403, allocations: 0 / 0.605 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.4031, allocations: 19.98 kB / 0.605 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.4031, allocations: 4 kB / 0.605 GB, free: 14.24 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.809e-05/0.4032, allocations: 122.3 kB / 0.6051 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.4032, allocations: 11.84 kB / 0.6051 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.4035, allocations: 158.3 kB / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4035, allocations: 3.938 kB / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4035, allocations: 0 / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4036, allocations: 0 / 0.6053 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.4041, allocations: 430.3 kB / 0.6057 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4041, allocations: 0 / 0.6057 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.4042, allocations: 19.98 kB / 0.6057 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4042, allocations: 4 kB / 0.6057 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.4042, allocations: 4 kB / 0.6057 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4042, allocations: 7.938 kB / 0.6057 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4042, allocations: 3.938 kB / 0.6057 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.4045, allocations: 239.4 kB / 0.606 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.4046, allocations: 85 kB / 0.606 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.4046, allocations: 4 kB / 0.6061 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.4047, allocations: 19.92 kB / 0.6061 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.4047, allocations: 4 kB / 0.6061 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.4048, allocations: 3.984 kB / 0.6061 GB, free: 13.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.4048, allocations: 112.8 kB / 0.6062 GB, free: 12.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4048, allocations: 0 / 0.6062 GB, free: 12.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000254/0.4051, allocations: 39.92 kB / 0.6062 GB, free: 12.89 MB / 426.7 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 (7): * Single equations (assignments): 7 * 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.0009449/0.4061, allocations: 458.5 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.4064, allocations: 103.9 kB / 0.6068 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4064, allocations: 4 kB / 0.6068 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.4065, allocations: 51.97 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.4068, allocations: 15.98 kB / 0.6068 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.4072, allocations: 225.2 kB / 0.607 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.4074, allocations: 0.6965 MB / 0.6077 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.4075, allocations: 24.94 kB / 0.6077 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.4076, allocations: 15.44 kB / 0.6078 GB, free: 11.43 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4076, allocations: 3.938 kB / 0.6078 GB, free: 11.42 MB / 426.7 MB Notification: Performance of Templates: time 0.003767/0.4113, allocations: 1.467 MB / 0.6092 GB, free: 9.965 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches