Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.000842, allocations: 179 kB / 18.09 MB, free: 3.754 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.206/1.206, allocations: 223.3 MB / 242.1 MB, free: 9.938 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.0007744/0.0007744, allocations: 92 kB / 293.3 MB, free: 10.55 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.2778/0.2778, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003773, allocations: 8 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2751, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09356/0.3687, allocations: 88.52 MB / 0.5972 GB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.3689, allocations: 71.95 kB / 0.5972 GB, free: 6.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.3852, allocations: 7.853 MB / 0.6049 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3852, allocations: 0 / 0.6049 GB, free: 14.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.3853, allocations: 4 kB / 0.6049 GB, free: 14.61 MB / 426.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.0006187/0.3859, allocations: 0.6259 MB / 0.6055 GB, free: 13.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3859, allocations: 12.03 kB / 0.6055 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.386, allocations: 44.38 kB / 0.6056 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.3864, allocations: 348.2 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3864, allocations: 4.375 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3865, allocations: 4.375 kB / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3866, allocations: 50.19 kB / 0.606 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3866, allocations: 8.094 kB / 0.606 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3866, allocations: 11.88 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3866, allocations: 0 / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.3867, allocations: 27.98 kB / 0.606 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.3873, allocations: 432.7 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3875, allocations: 42.5 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.3875, allocations: 24.94 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3876, allocations: 4 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3876, allocations: 30.56 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.3876, allocations: 0 / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005704/0.3882, allocations: 244.2 kB / 0.6068 GB, free: 12.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3882, allocations: 51.41 kB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3894, allocations: 0.8457 MB / 0.6076 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3894, allocations: 29.7 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3895, allocations: 224 kB / 0.6079 GB, free: 11.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3896, allocations: 19.75 kB / 0.6079 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.3896, allocations: 4 kB / 0.6079 GB, free: 11.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3897, allocations: 362.7 kB / 0.6082 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.3898, allocations: 23.98 kB / 0.6083 GB, free: 10.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.3898, allocations: 19.98 kB / 0.6083 GB, free: 10.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.39, allocations: 56.78 kB / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.39, allocations: 0 / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001975/0.3902, allocations: 121.1 kB / 0.6085 GB, free: 10.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3902, allocations: 15.98 kB / 0.6085 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3902, allocations: 0 / 0.6085 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.3902, allocations: 0 / 0.6085 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.778e-05/0.3903, allocations: 12.25 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3903, allocations: 0 / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.3904, allocations: 19.91 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3904, allocations: 4 kB / 0.6085 GB, free: 10.7 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 (5): * Single equations (assignments): 5 * 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.0001653/0.3906, allocations: 218.2 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.3906, allocations: 47.52 kB / 0.6088 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.3909, allocations: 141 kB / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3909, allocations: 0 / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3909, allocations: 0 / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3909, allocations: 0 / 0.6089 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.3916, allocations: 0.5959 MB / 0.6095 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3916, allocations: 0 / 0.6095 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.3917, allocations: 19.98 kB / 0.6095 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3917, allocations: 0 / 0.6095 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3917, allocations: 0 / 0.6095 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3917, allocations: 8 kB / 0.6095 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3917, allocations: 3.938 kB / 0.6095 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.3919, allocations: 215 kB / 0.6097 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3921, allocations: 164.5 kB / 0.6099 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.3921, allocations: 4 kB / 0.6099 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3922, allocations: 8 kB / 0.6099 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3923, allocations: 15.86 kB / 0.6099 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3923, allocations: 0 / 0.6099 GB, free: 9.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006397/0.3929, allocations: 0.6394 MB / 0.6105 GB, free: 8.531 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.342e-06/0.3929, allocations: 0 / 0.6105 GB, free: 8.531 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00027/0.3932, allocations: 59.94 kB / 0.6106 GB, free: 8.473 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 (5): * Single equations (assignments): 5 * 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.0008262/0.3941, allocations: 408.4 kB / 0.611 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3942, allocations: 51.97 kB / 0.611 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3942, allocations: 0 / 0.611 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.3943, allocations: 39.86 kB / 0.6111 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3947, allocations: 25.95 kB / 0.6111 GB, free: 8.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3958, allocations: 0.8998 MB / 0.612 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3961, allocations: 0.8185 MB / 0.6128 GB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.3962, allocations: 48.17 kB / 0.6128 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.3963, allocations: 19.44 kB / 0.6128 GB, free: 6.273 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3963, allocations: 0 / 0.6128 GB, free: 6.273 MB / 426.7 MB Notification: Performance of Templates: time 0.005518/0.4018, allocations: 2.431 MB / 0.6152 GB, free: 3.84 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches