Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008907/0.0008906, allocations: 178.5 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007537/0.0007537, allocations: 94.11 kB / 295.1 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3684/0.3684, allocations: 44.33 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 8 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3724, allocations: 61.91 MB / 0.5127 GB, free: 38.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00176/0.3742, allocations: 1.262 MB / 0.514 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.375, allocations: 463.1 kB / 0.5144 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.3751, allocations: 2.969 kB / 0.5144 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3753, allocations: 21.12 kB / 0.5144 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.3755, allocations: 27.98 kB / 0.5145 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.3758, allocations: 96.92 kB / 0.5146 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.376, allocations: 60.3 kB / 0.5146 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3761, allocations: 6 kB / 0.5146 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.3762, allocations: 18.52 kB / 0.5146 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.3763, allocations: 26.33 kB / 0.5147 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3763, allocations: 0 / 0.5147 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.3764, allocations: 29.97 kB / 0.5147 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.3764, allocations: 16.36 kB / 0.5147 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.3765, allocations: 45.03 kB / 0.5148 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3767, allocations: 70.84 kB / 0.5148 GB, free: 36.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.3767, allocations: 0 / 0.5148 GB, free: 36.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.3767, allocations: 0 / 0.5148 GB, free: 36.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3767, allocations: 0 / 0.5148 GB, free: 36.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005573/0.3773, allocations: 369.9 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.3773, allocations: 6.719 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3774, allocations: 8.156 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3776, allocations: 191.9 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3776, allocations: 1.406 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3776, allocations: 5.406 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3778, allocations: 59.22 kB / 0.5154 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3778, allocations: 7.922 kB / 0.5154 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3778, allocations: 4 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3778, allocations: 1.188 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-05/0.3779, allocations: 29.5 kB / 0.5155 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.3783, allocations: 275.8 kB / 0.5157 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3785, allocations: 53.78 kB / 0.5158 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.3786, allocations: 20.95 kB / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3786, allocations: 0 / 0.5158 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.3786, allocations: 30.56 kB / 0.5158 GB, free: 35.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3786, allocations: 0 / 0.5158 GB, free: 35.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005027/0.3791, allocations: 167.6 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.3792, allocations: 51.41 kB / 0.516 GB, free: 35.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3793, allocations: 145.7 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3793, allocations: 25.7 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.3793, allocations: 92.2 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3794, allocations: 21.3 kB / 0.5163 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.3794, allocations: 4 kB / 0.5163 GB, free: 35.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.3795, allocations: 317.1 kB / 0.5166 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.3795, allocations: 26.42 kB / 0.5166 GB, free: 34.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.3796, allocations: 28.97 kB / 0.5167 GB, free: 34.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3797, allocations: 62.39 kB / 0.5167 GB, free: 34.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3797, allocations: 0 / 0.5167 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001703/0.3799, allocations: 96.66 kB / 0.5168 GB, free: 34.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3799, allocations: 2.719 kB / 0.5168 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3799, allocations: 3 kB / 0.5168 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.38, allocations: 256 / 0.5168 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.38, allocations: 14.23 kB / 0.5168 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3801, allocations: 4 kB / 0.5169 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.3801, allocations: 12.58 kB / 0.5169 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3801, allocations: 6.562 kB / 0.5169 GB, free: 34.73 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.3802, allocations: 120.4 kB / 0.517 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.3802, allocations: 9.531 kB / 0.517 GB, free: 34.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.3805, allocations: 105.4 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3805, allocations: 3.031 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3805, allocations: 0 / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3805, allocations: 3.938 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3809, allocations: 360.4 kB / 0.5174 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3809, allocations: 0 / 0.5174 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.3809, allocations: 19.34 kB / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3809, allocations: 0 / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.381, allocations: 0 / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.381, allocations: 3.938 kB / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.381, allocations: 3 kB / 0.5175 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3812, allocations: 188.9 kB / 0.5176 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.3812, allocations: 87.08 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3812, allocations: 0 / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.3813, allocations: 13.19 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3813, allocations: 9.828 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3813, allocations: 2.625 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.041e-05/0.3814, allocations: 108.9 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3814, allocations: 4 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.3817, allocations: 18.75 kB / 0.5179 GB, free: 33.85 MB / 378.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 (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.0008665/0.3825, allocations: 465.3 kB / 0.5183 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3827, allocations: 60.67 kB / 0.5184 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3827, allocations: 0 / 0.5184 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.3828, allocations: 35.47 kB / 0.5184 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3831, allocations: 16.8 kB / 0.5184 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.3835, allocations: 202.2 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.3837, allocations: 0.69 MB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.918e-05/0.3838, allocations: 11.25 kB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.3838, allocations: 14.91 kB / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3838, allocations: 0 / 0.5193 GB, free: 32.68 MB / 378.7 MB Notification: Performance of Templates: time 0.003578/0.3874, allocations: 1.034 MB / 0.5203 GB, free: 32.55 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches