Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 173.9 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.29/1.29, allocations: 225.7 MB / 243.9 MB, free: 8.426 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.0007022/0.0007024, allocations: 97.25 kB / 295.1 MB, free: 9.469 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.3396/0.3396, allocations: 44.32 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002892, allocations: 8 kB / 463.1 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3335, allocations: 61.91 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.00167/0.3352, allocations: 1.269 MB / 0.514 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3366, allocations: 1.132 MB / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.3366, allocations: 0 / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3369, allocations: 20.55 kB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.337, allocations: 36.94 kB / 0.5151 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3373, allocations: 100.7 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3374, allocations: 62.05 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.3375, allocations: 13.31 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.3376, allocations: 13.03 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.3377, allocations: 35.81 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3377, allocations: 0 / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.3378, allocations: 41.28 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.3378, allocations: 10.02 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.3379, allocations: 43.17 kB / 0.5154 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.338, allocations: 92.45 kB / 0.5155 GB, free: 35.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3381, allocations: 0 / 0.5155 GB, free: 35.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3381, allocations: 0 / 0.5155 GB, free: 35.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3381, allocations: 0 / 0.5155 GB, free: 35.9 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.0003599/0.3384, allocations: 366 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3385, allocations: 8.812 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3385, allocations: 11.11 kB / 0.5159 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3387, allocations: 184.6 kB / 0.5161 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3387, allocations: 11.31 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3387, allocations: 384 / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3389, allocations: 68.7 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3389, allocations: 0 / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3389, allocations: 2.938 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3389, allocations: 0 / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.339, allocations: 28.84 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.3393, allocations: 292.1 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3395, allocations: 43.47 kB / 0.5165 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.3396, allocations: 25.03 kB / 0.5165 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3396, allocations: 2.906 kB / 0.5165 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3396, allocations: 30.56 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.3396, allocations: 0 / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005127/0.3401, allocations: 166.4 kB / 0.5167 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3402, allocations: 80.14 kB / 0.5168 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3403, allocations: 139.6 kB / 0.5169 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.3403, allocations: 25.7 kB / 0.517 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.073e-05/0.3403, allocations: 86.83 kB / 0.517 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.3404, allocations: 25.61 kB / 0.5171 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.3404, allocations: 0 / 0.5171 GB, free: 34.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.3404, allocations: 321.5 kB / 0.5174 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.3405, allocations: 26.3 kB / 0.5174 GB, free: 34.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.3406, allocations: 33.69 kB / 0.5174 GB, free: 34.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3407, allocations: 64.64 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3407, allocations: 0 / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001653/0.3409, allocations: 96.44 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3409, allocations: 5.125 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3409, allocations: 3.938 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3409, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.341, allocations: 19.8 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.341, allocations: 0 / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.3411, allocations: 12.56 kB / 0.5176 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3411, allocations: 1.5 kB / 0.5176 GB, free: 34.01 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 6.408e-05/0.3411, allocations: 122.2 kB / 0.5177 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.3412, allocations: 7.906 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.3414, allocations: 99.8 kB / 0.5178 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3414, allocations: 3.984 kB / 0.5178 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3414, allocations: 8.531 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3414, allocations: 4 kB / 0.5179 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.3418, allocations: 354.3 kB / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3418, allocations: 1.031 kB / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.3419, allocations: 13.89 kB / 0.5182 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3419, allocations: 4 kB / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3419, allocations: 5.516 kB / 0.5182 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3419, allocations: 5.188 kB / 0.5182 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3419, allocations: 0 / 0.5182 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3421, allocations: 192.8 kB / 0.5184 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.3421, allocations: 89.09 kB / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3422, allocations: 4.906 kB / 0.5185 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.3422, allocations: 11.31 kB / 0.5185 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.3423, allocations: 4.656 kB / 0.5185 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3423, allocations: 1.281 kB / 0.5185 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.3424, allocations: 106.4 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3424, allocations: 0 / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.3426, allocations: 21.55 kB / 0.5186 GB, free: 33.13 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.0009394/0.3435, allocations: 0.5036 MB / 0.5191 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3438, allocations: 67.81 kB / 0.5192 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3438, allocations: 0 / 0.5192 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.3438, allocations: 33.17 kB / 0.5192 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3441, allocations: 16.08 kB / 0.5192 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.3445, allocations: 173.7 kB / 0.5194 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3446, allocations: 0.6897 MB / 0.5201 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.3447, allocations: 19.94 kB / 0.5201 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.3447, allocations: 18.58 kB / 0.5201 GB, free: 31.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3447, allocations: 0 / 0.5201 GB, free: 31.95 MB / 378.7 MB Notification: Performance of Templates: time 0.003311/0.348, allocations: 1.312 MB / 0.5214 GB, free: 31.78 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches