Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 178.2 kB / 17.41 MB, free: 4.41 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.361/1.361, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0009107/0.000911, allocations: 90.2 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.3606/0.3606, allocations: 44.31 MB / 390.5 MB, free: 37.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 463.1 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3035, allocations: 61.9 MB / 0.5127 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001563/0.3051, allocations: 1.269 MB / 0.514 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3062, allocations: 1.126 MB / 0.5151 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.3063, allocations: 3.938 kB / 0.5151 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.3065, allocations: 23.45 kB / 0.5151 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3066, allocations: 38.56 kB / 0.5151 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3069, allocations: 99.73 kB / 0.5152 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.307, allocations: 59.55 kB / 0.5153 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.307, allocations: 5.969 kB / 0.5153 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.3071, allocations: 21.08 kB / 0.5153 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.3072, allocations: 31.77 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3072, allocations: 0 / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.3073, allocations: 42.86 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.3073, allocations: 10.5 kB / 0.5154 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3074, allocations: 44.14 kB / 0.5154 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3075, allocations: 85.56 kB / 0.5155 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3075, allocations: 0 / 0.5155 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3075, allocations: 0 / 0.5155 GB, free: 35.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.3075, allocations: 0 / 0.5155 GB, free: 35.75 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.0003881/0.3079, allocations: 374.2 kB / 0.5159 GB, free: 35.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.308, allocations: 8.188 kB / 0.5159 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.308, allocations: 10.22 kB / 0.5159 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3082, allocations: 180.1 kB / 0.5161 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3082, allocations: 3.156 kB / 0.5161 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3082, allocations: 10.47 kB / 0.5161 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3084, allocations: 61.53 kB / 0.5161 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3084, allocations: 4 kB / 0.5161 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3084, allocations: 0 / 0.5161 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3084, allocations: 3.281 kB / 0.5162 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.692e-05/0.3085, allocations: 28.86 kB / 0.5162 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.3088, allocations: 285.3 kB / 0.5164 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.309, allocations: 52.06 kB / 0.5165 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.3091, allocations: 26.94 kB / 0.5165 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3091, allocations: 0 / 0.5165 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.3091, allocations: 38.5 kB / 0.5166 GB, free: 34.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.3091, allocations: 0 / 0.5166 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004713/0.3096, allocations: 159.9 kB / 0.5167 GB, free: 34.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3096, allocations: 87.83 kB / 0.5168 GB, free: 34.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.3097, allocations: 136 kB / 0.5169 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.3097, allocations: 32.45 kB / 0.517 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.3098, allocations: 89.89 kB / 0.517 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.3098, allocations: 18.41 kB / 0.5171 GB, free: 34.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.3098, allocations: 0 / 0.5171 GB, free: 34.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.3098, allocations: 322.2 kB / 0.5174 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.3099, allocations: 24.42 kB / 0.5174 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.31, allocations: 45.92 kB / 0.5174 GB, free: 33.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3101, allocations: 59.28 kB / 0.5175 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3101, allocations: 0 / 0.5175 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001547/0.3103, allocations: 101 kB / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3103, allocations: 2.938 kB / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3103, allocations: 3.125 kB / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3103, allocations: 0 / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.3104, allocations: 14.47 kB / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3104, allocations: 4 kB / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.3104, allocations: 5.625 kB / 0.5176 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.3105, allocations: 0 / 0.5176 GB, free: 33.86 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 5.141e-05/0.3105, allocations: 122.8 kB / 0.5177 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3105, allocations: 7.031 kB / 0.5177 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.3107, allocations: 108.5 kB / 0.5178 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3108, allocations: 3.984 kB / 0.5178 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3108, allocations: 0 / 0.5178 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3108, allocations: 2.906 kB / 0.5179 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.3111, allocations: 358.2 kB / 0.5182 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3111, allocations: 0 / 0.5182 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.3112, allocations: 19.16 kB / 0.5182 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3112, allocations: 0 / 0.5182 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3112, allocations: 0 / 0.5182 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3112, allocations: 14.05 kB / 0.5182 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3112, allocations: 3.938 kB / 0.5182 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3114, allocations: 188.9 kB / 0.5184 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3114, allocations: 86.52 kB / 0.5185 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3114, allocations: 1.156 kB / 0.5185 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.3115, allocations: 9.375 kB / 0.5185 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3115, allocations: 9.891 kB / 0.5185 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3115, allocations: 5.531 kB / 0.5185 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.234e-05/0.3116, allocations: 104.1 kB / 0.5186 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3116, allocations: 0 / 0.5186 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.3118, allocations: 14.75 kB / 0.5186 GB, free: 32.98 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.0008845/0.3127, allocations: 0.5063 MB / 0.5191 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3129, allocations: 60.02 kB / 0.5192 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3129, allocations: 3.938 kB / 0.5192 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.313, allocations: 31.09 kB / 0.5192 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3133, allocations: 18.5 kB / 0.5192 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3136, allocations: 176.5 kB / 0.5194 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3138, allocations: 0.6886 MB / 0.5201 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.812e-05/0.3139, allocations: 26.25 kB / 0.5201 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.3139, allocations: 19 kB / 0.5201 GB, free: 31.78 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3139, allocations: 0 / 0.5201 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Templates: time 0.003893/0.3178, allocations: 1.311 MB / 0.5214 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches