Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 175 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.407/1.407, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0009235/0.0009234, allocations: 93.88 kB / 295 MB, free: 9.488 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.3323/0.3323, allocations: 44.33 MB / 390.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003151, allocations: 8 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2962, allocations: 61.91 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001511/0.2978, allocations: 1.264 MB / 0.514 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2989, allocations: 1.134 MB / 0.5151 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.299, allocations: 0 / 0.5151 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.2992, allocations: 23.98 kB / 0.5151 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.2993, allocations: 31.83 kB / 0.5151 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2996, allocations: 107.9 kB / 0.5152 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2997, allocations: 50.56 kB / 0.5153 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.2998, allocations: 13.3 kB / 0.5153 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.2998, allocations: 16.56 kB / 0.5153 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2999, allocations: 26.7 kB / 0.5153 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3, allocations: 3.984 kB / 0.5153 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.3, allocations: 46.38 kB / 0.5154 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.3001, allocations: 10.28 kB / 0.5154 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3001, allocations: 44.36 kB / 0.5154 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.3003, allocations: 81 kB / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3003, allocations: 2.75 kB / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3003, allocations: 0 / 0.5155 GB, free: 35.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.3003, allocations: 0 / 0.5155 GB, free: 35.84 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.0003287/0.3006, allocations: 370.8 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3007, allocations: 15.09 kB / 0.5159 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3007, allocations: 8.781 kB / 0.5159 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3009, allocations: 183 kB / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3009, allocations: 384 / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.3009, allocations: 6.188 kB / 0.5161 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.301, allocations: 65.22 kB / 0.5161 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3011, allocations: 0 / 0.5161 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3011, allocations: 6.328 kB / 0.5161 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3011, allocations: 4 kB / 0.5162 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.3012, allocations: 28.7 kB / 0.5162 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3015, allocations: 287.9 kB / 0.5165 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3017, allocations: 51.67 kB / 0.5165 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.3018, allocations: 19.81 kB / 0.5165 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.3018, allocations: 0 / 0.5165 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.3018, allocations: 30.56 kB / 0.5166 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3019, allocations: 3.938 kB / 0.5166 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005564/0.3024, allocations: 163 kB / 0.5167 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3025, allocations: 77.11 kB / 0.5168 GB, free: 34.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.3026, allocations: 147 kB / 0.5169 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.3026, allocations: 29.7 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.3026, allocations: 90.98 kB / 0.517 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3026, allocations: 22.11 kB / 0.5171 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.3026, allocations: 4 kB / 0.5171 GB, free: 34.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.3027, allocations: 317.8 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.3028, allocations: 25.34 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.3029, allocations: 42.62 kB / 0.5174 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.303, allocations: 56.38 kB / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.303, allocations: 0 / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001632/0.3032, allocations: 95.33 kB / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3032, allocations: 9.469 kB / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3032, allocations: 0 / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3032, allocations: 0 / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.3033, allocations: 17.06 kB / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3033, allocations: 0 / 0.5176 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.3033, allocations: 20.62 kB / 0.5176 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3033, allocations: 288 / 0.5176 GB, free: 33.94 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.462e-05/0.3034, allocations: 118.9 kB / 0.5177 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3034, allocations: 6.844 kB / 0.5177 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.3037, allocations: 107.6 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3037, allocations: 3.938 kB / 0.5178 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3037, allocations: 1.875 kB / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3037, allocations: 0.7969 kB / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.3041, allocations: 356.2 kB / 0.5182 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3041, allocations: 4.703 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.3041, allocations: 14.3 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3041, allocations: 0 / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3041, allocations: 5.438 kB / 0.5182 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3042, allocations: 4.594 kB / 0.5182 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3042, allocations: 0 / 0.5182 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.3044, allocations: 192.6 kB / 0.5184 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3044, allocations: 89.53 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3044, allocations: 1.094 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.3045, allocations: 11.03 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.3045, allocations: 4 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.3046, allocations: 2 kB / 0.5185 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.094e-05/0.3046, allocations: 106.4 kB / 0.5186 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3046, allocations: 0 / 0.5186 GB, free: 33.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.3049, allocations: 21.03 kB / 0.5186 GB, free: 33.07 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.0009125/0.3058, allocations: 0.505 MB / 0.5191 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.306, allocations: 67.02 kB / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.306, allocations: 1.312 kB / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.3061, allocations: 29.78 kB / 0.5192 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.3064, allocations: 23.28 kB / 0.5192 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.3067, allocations: 176.2 kB / 0.5194 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.3068, allocations: 0.69 MB / 0.5201 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.3069, allocations: 24.59 kB / 0.5201 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3069, allocations: 21.38 kB / 0.5201 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3069, allocations: 0 / 0.5201 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.003483/0.3104, allocations: 1.308 MB / 0.5214 GB, free: 31.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches