Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 176.8 kB / 17.06 MB, free: 5.082 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.24/1.24, allocations: 223.2 MB / 241 MB, free: 10.09 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.0008723/0.0008722, allocations: 94.03 kB / 292.2 MB, free: 10.69 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.3145/0.3145, allocations: 44.21 MB / 387.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.367, allocations: 61.9 MB / 0.5096 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4914, allocations: 89.01 MB / 0.5965 GB, free: 6.129 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.4917, allocations: 71.94 kB / 0.5965 GB, free: 6.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01159/0.5033, allocations: 4.593 MB / 0.601 GB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5033, allocations: 0 / 0.601 GB, free: 1.469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.5033, allocations: 4 kB / 0.601 GB, free: 1.465 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.0004782/0.5038, allocations: 422.8 kB / 0.6014 GB, free: 1.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5039, allocations: 8.562 kB / 0.6014 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.5039, allocations: 19.89 kB / 0.6015 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.5042, allocations: 198.1 kB / 0.6017 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5042, allocations: 7.953 kB / 0.6017 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.5042, allocations: 0 / 0.6017 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.5045, allocations: 77.59 kB / 0.6017 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5045, allocations: 4 kB / 0.6017 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5045, allocations: 0 / 0.6017 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5045, allocations: 4 kB / 0.6017 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.5047, allocations: 47.97 kB / 0.6018 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.5052, allocations: 336.6 kB / 0.6021 GB, free: 224 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.5054, allocations: 58.55 kB / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5055, allocations: 8.109 kB / 0.6022 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.5055, allocations: 38.56 kB / 0.6022 GB, free: 100 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5055, allocations: 0 / 0.6022 GB, free: 100 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001526/0.507, allocations: 492.9 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.5071, allocations: 60.64 kB / 0.6027 GB, free: 15.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.5072, allocations: 157.6 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.5073, allocations: 25.7 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.5073, allocations: 100 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.5074, allocations: 43.45 kB / 0.6031 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.5074, allocations: 0 / 0.6031 GB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5075, allocations: 326.8 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5077, allocations: 59.89 kB / 0.6034 GB, free: 14.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.5078, allocations: 71.95 kB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.508, allocations: 64.23 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.508, allocations: 0 / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003446/0.5083, allocations: 181.5 kB / 0.6037 GB, free: 14.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5083, allocations: 9.875 kB / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5084, allocations: 0 / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5084, allocations: 0 / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.5085, allocations: 27.98 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5085, allocations: 7.938 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.5086, allocations: 23.94 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.5086, allocations: 0.5625 kB / 0.6038 GB, free: 14.43 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 (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.0001076/0.5087, allocations: 129.8 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.5087, allocations: 7.906 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.5092, allocations: 206.1 kB / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5092, allocations: 4 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5092, allocations: 0 / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5092, allocations: 4 kB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.5099, allocations: 0.5195 MB / 0.6046 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5099, allocations: 0 / 0.6046 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5101, allocations: 31.98 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5101, allocations: 0 / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5101, allocations: 7.953 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5101, allocations: 4 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5101, allocations: 7.922 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.5105, allocations: 308.4 kB / 0.605 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.5106, allocations: 97.09 kB / 0.6051 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.5106, allocations: 3.938 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.5107, allocations: 19.98 kB / 0.6051 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.5108, allocations: 11.98 kB / 0.6051 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.5108, allocations: 4 kB / 0.6051 GB, free: 12.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.5109, allocations: 134.1 kB / 0.6052 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5109, allocations: 0 / 0.6052 GB, free: 12.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000265/0.5112, allocations: 39.94 kB / 0.6053 GB, free: 12.78 MB / 426.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 () * 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.0009896/0.5122, allocations: 465 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.5125, allocations: 143.9 kB / 0.6059 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5125, allocations: 0 / 0.6059 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.5127, allocations: 75.89 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.5129, allocations: 27.92 kB / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.5135, allocations: 306.9 kB / 0.6062 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.5138, allocations: 0.72 MB / 0.6069 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.583e-05/0.5139, allocations: 32.52 kB / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.5139, allocations: 15.44 kB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5139, allocations: 4 kB / 0.607 GB, free: 11.13 MB / 426.7 MB Notification: Performance of Templates: time 0.004054/0.518, allocations: 1.557 MB / 0.6085 GB, free: 9.59 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches