Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 177.9 kB / 17.41 MB, free: 4.289 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.301/1.301, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007083/0.0007083, allocations: 89.86 kB / 295 MB, free: 9.5 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.3061/0.3061, allocations: 44.31 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 61.91 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001767/0.3612, allocations: 1.278 MB / 0.514 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3624, allocations: 1.129 MB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3625, allocations: 3.938 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.3627, allocations: 23.92 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.3628, allocations: 31.83 kB / 0.5151 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3631, allocations: 85.61 kB / 0.5152 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3632, allocations: 59.28 kB / 0.5153 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.3633, allocations: 20.52 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.3634, allocations: 19.88 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.3638, allocations: 27.27 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3638, allocations: 6.875 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.3639, allocations: 35.03 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.3639, allocations: 21.91 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.364, allocations: 48.42 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3641, allocations: 97.05 kB / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3642, allocations: 0 / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3642, allocations: 0 / 0.5155 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3642, allocations: 0 / 0.5155 GB, free: 35.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003804/0.3646, allocations: 377.1 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3646, allocations: 8.844 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.3647, allocations: 14.81 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3648, allocations: 191.2 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3648, allocations: 3.703 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3649, allocations: 7.469 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.365, allocations: 78.12 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.365, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3651, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3651, allocations: 0 / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3652, allocations: 41.55 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.3655, allocations: 288 kB / 0.5165 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3656, allocations: 59.78 kB / 0.5166 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.3657, allocations: 27.44 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3657, allocations: 2.375 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3657, allocations: 34.56 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3657, allocations: 0 / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005901/0.3663, allocations: 185.9 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3664, allocations: 83.89 kB / 0.5169 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3665, allocations: 145 kB / 0.517 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.3665, allocations: 25.7 kB / 0.517 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3666, allocations: 102.2 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3666, allocations: 29.94 kB / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3666, allocations: 0 / 0.5172 GB, free: 34.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.3667, allocations: 317.8 kB / 0.5175 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/0.3668, allocations: 28.34 kB / 0.5175 GB, free: 34.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.3668, allocations: 51.38 kB / 0.5176 GB, free: 34.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.367, allocations: 66.84 kB / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.367, allocations: 0 / 0.5176 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001784/0.3672, allocations: 103.3 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3672, allocations: 5.406 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3672, allocations: 3.938 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3672, allocations: 6.781 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.3673, allocations: 21.11 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3674, allocations: 6.781 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.3674, allocations: 20.67 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3674, allocations: 0 / 0.5178 GB, free: 34 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 (8): * Single equations (assignments): 8 * 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 6.366e-05/0.3675, allocations: 119.2 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.3675, allocations: 9.219 kB / 0.5179 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3678, allocations: 118.7 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3678, allocations: 2.531 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3678, allocations: 4 kB / 0.518 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3678, allocations: 3.938 kB / 0.518 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.3682, allocations: 382 kB / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3682, allocations: 0 / 0.5184 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.3683, allocations: 26.39 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3683, allocations: 4.969 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3683, allocations: 1.656 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3683, allocations: 0 / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3683, allocations: 3.938 kB / 0.5184 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.3685, allocations: 207.1 kB / 0.5186 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.3686, allocations: 87.98 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3686, allocations: 8.359 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.3687, allocations: 4.188 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3687, allocations: 7.516 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3687, allocations: 1.281 kB / 0.5187 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.3688, allocations: 111.3 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 4 kB / 0.5188 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.3691, allocations: 26.28 kB / 0.5189 GB, free: 33.1 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 (8): * Single equations (assignments): 8 * 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.001081/0.3702, allocations: 0.5091 MB / 0.5194 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3704, allocations: 75.98 kB / 0.5194 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3704, allocations: 0 / 0.5194 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.3705, allocations: 40.28 kB / 0.5195 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3708, allocations: 18.77 kB / 0.5195 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.3712, allocations: 214 kB / 0.5197 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3714, allocations: 0.6936 MB / 0.5204 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.3714, allocations: 20.25 kB / 0.5204 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.3715, allocations: 14.5 kB / 0.5204 GB, free: 31.88 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3715, allocations: 0 / 0.5204 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Templates: time 0.003507/0.375, allocations: 1.378 MB / 0.5217 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches