Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 176.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.326/1.326, allocations: 225.7 MB / 243.9 MB, free: 8.48 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.0007901/0.0007901, allocations: 100.4 kB / 295.1 MB, free: 9.52 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.2966/0.2966, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 12 kB / 463.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3282, allocations: 61.91 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.001865/0.3301, allocations: 1.308 MB / 0.514 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006996/0.3309, allocations: 473.1 kB / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.3309, allocations: 0 / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.3312, allocations: 27.8 kB / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3314, allocations: 37.11 kB / 0.5145 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.3317, allocations: 91.86 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3318, allocations: 69.44 kB / 0.5147 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.332, allocations: 27.3 kB / 0.5147 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.332, allocations: 26.03 kB / 0.5147 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.3321, allocations: 30.98 kB / 0.5148 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3321, allocations: 0 / 0.5148 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.3322, allocations: 41.17 kB / 0.5148 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.3323, allocations: 20.61 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.3324, allocations: 46.64 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3325, allocations: 103 kB / 0.515 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3326, allocations: 2.469 kB / 0.515 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3326, allocations: 0 / 0.515 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3326, allocations: 0 / 0.515 GB, free: 36.4 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004431/0.333, allocations: 386.2 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3331, allocations: 8.938 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.3331, allocations: 7.844 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3333, allocations: 198.3 kB / 0.5155 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3333, allocations: 11.28 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.3333, allocations: 7.141 kB / 0.5156 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3335, allocations: 72.73 kB / 0.5156 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3335, allocations: 0 / 0.5156 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3335, allocations: 0 / 0.5156 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.3336, allocations: 2.938 kB / 0.5156 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3337, allocations: 44.72 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3341, allocations: 327.2 kB / 0.516 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3342, allocations: 62.97 kB / 0.516 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.3343, allocations: 21.12 kB / 0.5161 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.3343, allocations: 14.39 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.3343, allocations: 30.56 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3343, allocations: 0 / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009803/0.3353, allocations: 320.2 kB / 0.5164 GB, free: 35.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.3354, allocations: 58.91 kB / 0.5165 GB, free: 35.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3355, allocations: 149.6 kB / 0.5166 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.3355, allocations: 32.67 kB / 0.5166 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.3355, allocations: 102 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.3356, allocations: 36.61 kB / 0.5168 GB, free: 34.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.3356, allocations: 4 kB / 0.5168 GB, free: 34.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.3357, allocations: 321 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.3358, allocations: 44.36 kB / 0.5171 GB, free: 34.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.3359, allocations: 42.72 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.336, allocations: 96.97 kB / 0.5173 GB, free: 34.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.336, allocations: 7.938 kB / 0.5173 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000245/0.3363, allocations: 138.3 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3363, allocations: 6.672 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3363, allocations: 0 / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3364, allocations: 4.781 kB / 0.5174 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3365, allocations: 31.98 kB / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3365, allocations: 4 kB / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3366, allocations: 11.47 kB / 0.5175 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3366, allocations: 3.281 kB / 0.5175 GB, free: 34.39 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 (13): * Single equations (assignments): 13 * 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 8.04e-05/0.3367, allocations: 130.8 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3367, allocations: 9.125 kB / 0.5176 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.337, allocations: 171.2 kB / 0.5178 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3371, allocations: 1.438 kB / 0.5178 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3371, allocations: 0 / 0.5178 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3371, allocations: 5.844 kB / 0.5178 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.3376, allocations: 476.8 kB / 0.5182 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3376, allocations: 0 / 0.5182 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.3377, allocations: 26.92 kB / 0.5182 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3377, allocations: 2.75 kB / 0.5182 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.3377, allocations: 3.703 kB / 0.5183 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3377, allocations: 2.844 kB / 0.5183 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3377, allocations: 4.031 kB / 0.5183 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.338, allocations: 248.3 kB / 0.5185 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.338, allocations: 91.64 kB / 0.5186 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.338, allocations: 5.562 kB / 0.5186 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.3381, allocations: 9.766 kB / 0.5186 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3382, allocations: 15.09 kB / 0.5186 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3382, allocations: 4.625 kB / 0.5186 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.3382, allocations: 113.5 kB / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3383, allocations: 1.094 kB / 0.5187 GB, free: 33.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.3385, allocations: 27.89 kB / 0.5188 GB, free: 33.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001067/0.3396, allocations: 0.5054 MB / 0.5192 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.3399, allocations: 108.9 kB / 0.5193 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3399, allocations: 0 / 0.5193 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.34, allocations: 62.16 kB / 0.5194 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3404, allocations: 22.73 kB / 0.5194 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.3409, allocations: 277.9 kB / 0.5197 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3411, allocations: 0.7026 MB / 0.5204 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.3412, allocations: 24.41 kB / 0.5204 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3412, allocations: 16.67 kB / 0.5204 GB, free: 32.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3412, allocations: 0 / 0.5204 GB, free: 32.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003709/0.3449, allocations: 1.412 MB / 0.5218 GB, free: 31.93 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches