Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008045/0.0008043, allocations: 91.81 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3952/0.3952, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.049e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.5185, allocations: 89.04 MB / 0.5598 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.5187, allocations: 70.67 kB / 0.5598 GB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0204/0.5391, allocations: 9.113 MB / 0.5687 GB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5391, allocations: 0 / 0.5687 GB, free: 8.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.5392, allocations: 12 kB / 0.5687 GB, free: 8.809 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004873/0.5397, allocations: 0.5609 MB / 0.5693 GB, free: 8.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5397, allocations: 8.031 kB / 0.5693 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.5398, allocations: 43.44 kB / 0.5693 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.5402, allocations: 352.5 kB / 0.5697 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5403, allocations: 7.5 kB / 0.5697 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.5403, allocations: 10.75 kB / 0.5697 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5405, allocations: 115.2 kB / 0.5698 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5405, allocations: 4 kB / 0.5698 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5405, allocations: 2.125 kB / 0.5698 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5405, allocations: 4 kB / 0.5698 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.5407, allocations: 79.8 kB / 0.5699 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.5413, allocations: 0.5356 MB / 0.5704 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.5414, allocations: 101.7 kB / 0.5705 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.5415, allocations: 35.72 kB / 0.5705 GB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.5415, allocations: 4 kB / 0.5705 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.5416, allocations: 34.44 kB / 0.5706 GB, free: 6.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5416, allocations: 0 / 0.5706 GB, free: 6.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007037/0.5423, allocations: 378.3 kB / 0.5709 GB, free: 6.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.5423, allocations: 55.62 kB / 0.571 GB, free: 6.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.5428, allocations: 0.4893 MB / 0.5715 GB, free: 6.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.5428, allocations: 32.7 kB / 0.5715 GB, free: 6.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.543, allocations: 207.7 kB / 0.5717 GB, free: 6.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.543, allocations: 50.02 kB / 0.5717 GB, free: 6.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.543, allocations: 7.312 kB / 0.5717 GB, free: 6.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.5431, allocations: 355.3 kB / 0.5721 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.5432, allocations: 56.92 kB / 0.5721 GB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.5433, allocations: 58.75 kB / 0.5722 GB, free: 5.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.5434, allocations: 68.44 kB / 0.5723 GB, free: 5.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5434, allocations: 0 / 0.5723 GB, free: 5.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002427/0.5436, allocations: 204.4 kB / 0.5725 GB, free: 5.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5436, allocations: 4 kB / 0.5725 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.5436, allocations: 4 kB / 0.5725 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5437, allocations: 0 / 0.5725 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.5438, allocations: 39.91 kB / 0.5725 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.5438, allocations: 0 / 0.5725 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.5439, allocations: 18.81 kB / 0.5725 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.5439, allocations: 7.953 kB / 0.5725 GB, free: 5.316 MB / 394.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 (17): * Single equations (assignments): 17 * 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 5.255e-05/0.544, allocations: 110.5 kB / 0.5726 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.5441, allocations: 39.53 kB / 0.5727 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.5444, allocations: 271.8 kB / 0.5729 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5444, allocations: 0 / 0.5729 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5444, allocations: 4 kB / 0.5729 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5444, allocations: 0 / 0.5729 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.5451, allocations: 0.7068 MB / 0.5736 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5452, allocations: 0 / 0.5736 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.5453, allocations: 35.73 kB / 0.5737 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5453, allocations: 4 kB / 0.5737 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5453, allocations: 4 kB / 0.5737 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5453, allocations: 3.953 kB / 0.5737 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5453, allocations: 0 / 0.5737 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.5456, allocations: 316 kB / 0.574 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5457, allocations: 152 kB / 0.5741 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.5457, allocations: 7.812 kB / 0.5741 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.5458, allocations: 12 kB / 0.5741 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.5459, allocations: 15.94 kB / 0.5741 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5459, allocations: 7.875 kB / 0.5742 GB, free: 3.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000331/0.5463, allocations: 399.6 kB / 0.5745 GB, free: 3.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5463, allocations: 0 / 0.5745 GB, free: 3.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.5466, allocations: 71.05 kB / 0.5746 GB, free: 3.438 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001377/0.548, allocations: 0.6257 MB / 0.5752 GB, free: 2.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.5482, allocations: 144.7 kB / 0.5754 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5482, allocations: 0 / 0.5754 GB, free: 2.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.5483, allocations: 86.58 kB / 0.5754 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.5487, allocations: 63.52 kB / 0.5755 GB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.5495, allocations: 0.5432 MB / 0.576 GB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.5497, allocations: 0.8277 MB / 0.5768 GB, free: 1.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.5498, allocations: 69.06 kB / 0.5769 GB, free: 1.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.5499, allocations: 42.97 kB / 0.5769 GB, free: 1.246 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5499, allocations: 0 / 0.5769 GB, free: 1.246 MB / 394.7 MB Notification: Performance of Templates: time 0.006928/0.5569, allocations: 3.64 MB / 0.5805 GB, free: 13.61 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches