Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 187 kB / 17.97 MB, free: 3.816 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.337/1.337, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.0009928/0.0009928, allocations: 115.4 kB / 291.9 MB, free: 10.94 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.3942/0.3942, allocations: 44.14 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 47.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3612, allocations: 60.81 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003518/0.3648, allocations: 2.022 MB / 0.5084 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3667, allocations: 1.123 MB / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.3669, allocations: 6.625 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3672, allocations: 38.69 kB / 0.5095 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3675, allocations: 126 kB / 0.5096 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3686, allocations: 0.5578 MB / 0.5102 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.369, allocations: 271.4 kB / 0.5104 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.3692, allocations: 79.16 kB / 0.5105 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.3694, allocations: 118.3 kB / 0.5106 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.3696, allocations: 175.7 kB / 0.5108 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.3696, allocations: 8.656 kB / 0.5108 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3697, allocations: 52.86 kB / 0.5108 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3699, allocations: 141.7 kB / 0.511 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.37, allocations: 154.2 kB / 0.5111 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.3703, allocations: 354.6 kB / 0.5115 GB, free: 35.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3703, allocations: 4 kB / 0.5115 GB, free: 35.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3703, allocations: 0 / 0.5115 GB, free: 35.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3703, allocations: 0 / 0.5115 GB, free: 35.24 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008315/0.3711, allocations: 0.739 MB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3712, allocations: 11.94 kB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.3713, allocations: 51.47 kB / 0.5123 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.3717, allocations: 445.9 kB / 0.5127 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3718, allocations: 10.19 kB / 0.5127 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3718, allocations: 21.84 kB / 0.5127 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.372, allocations: 136.9 kB / 0.5128 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3721, allocations: 0 / 0.5128 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3721, allocations: 6.906 kB / 0.5128 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3721, allocations: 6.219 kB / 0.5129 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3723, allocations: 94.55 kB / 0.5129 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.3731, allocations: 0.678 MB / 0.5136 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.3733, allocations: 109.1 kB / 0.5137 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.3734, allocations: 54.44 kB / 0.5138 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3734, allocations: 3.422 kB / 0.5138 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3735, allocations: 41.14 kB / 0.5138 GB, free: 33.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3735, allocations: 0 / 0.5138 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001259/0.3747, allocations: 0.5307 MB / 0.5143 GB, free: 33.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3748, allocations: 77.11 kB / 0.5144 GB, free: 33.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008549/0.3756, allocations: 0.8577 MB / 0.5152 GB, free: 32.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3757, allocations: 34.73 kB / 0.5153 GB, free: 32.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3758, allocations: 242.6 kB / 0.5155 GB, free: 32.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.3759, allocations: 60.5 kB / 0.5156 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3759, allocations: 37.39 kB / 0.5156 GB, free: 32.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.376, allocations: 376.8 kB / 0.5159 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3762, allocations: 64.16 kB / 0.516 GB, free: 32.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3764, allocations: 87.84 kB / 0.5161 GB, free: 32.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.3767, allocations: 150.9 kB / 0.5162 GB, free: 32.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3767, allocations: 2.875 kB / 0.5162 GB, free: 32.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004192/0.3771, allocations: 235.9 kB / 0.5165 GB, free: 32.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3771, allocations: 2.938 kB / 0.5165 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.3771, allocations: 4.281 kB / 0.5165 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3772, allocations: 0 / 0.5165 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3773, allocations: 46.44 kB / 0.5165 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3774, allocations: 0 / 0.5165 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3775, allocations: 23.78 kB / 0.5165 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3775, allocations: 6.922 kB / 0.5165 GB, free: 32.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.3777, allocations: 215.3 kB / 0.5168 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.3778, allocations: 54.41 kB / 0.5168 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.3783, allocations: 288.8 kB / 0.5171 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3783, allocations: 0 / 0.5171 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3783, allocations: 2.938 kB / 0.5171 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3783, allocations: 0 / 0.5171 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.3793, allocations: 0.7889 MB / 0.5179 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3793, allocations: 0 / 0.5179 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3795, allocations: 40.02 kB / 0.5179 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3795, allocations: 0 / 0.5179 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.3795, allocations: 8.125 kB / 0.5179 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3795, allocations: 8.688 kB / 0.5179 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3795, allocations: 2.906 kB / 0.5179 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.3803, allocations: 1.14 MB / 0.519 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3805, allocations: 137.4 kB / 0.5192 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.3805, allocations: 0.5625 kB / 0.5192 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3807, allocations: 13.53 kB / 0.5192 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.3808, allocations: 13.88 kB / 0.5192 GB, free: 30.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3808, allocations: 8.406 kB / 0.5192 GB, free: 30.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005712/0.3814, allocations: 0.6266 MB / 0.5198 GB, free: 29.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3814, allocations: 0 / 0.5198 GB, free: 29.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.3818, allocations: 54.72 kB / 0.5199 GB, free: 29.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008299/0.3826, allocations: 413.3 kB / 0.5202 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.383, allocations: 159.3 kB / 0.5204 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3831, allocations: 0 / 0.5204 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3832, allocations: 93.94 kB / 0.5205 GB, free: 29.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.3839, allocations: 69.91 kB / 0.5206 GB, free: 29.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3851, allocations: 1.172 MB / 0.5217 GB, free: 28.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3854, allocations: 0.8785 MB / 0.5226 GB, free: 28.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.3856, allocations: 84.41 kB / 0.5226 GB, free: 28.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.3857, allocations: 38.19 kB / 0.5227 GB, free: 28.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3857, allocations: 7.938 kB / 0.5227 GB, free: 28.22 MB / 378.7 MB Notification: Performance of Templates: time 0.007783/0.3935, allocations: 3.909 MB / 0.5265 GB, free: 27.88 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches