Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 175.1 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.447/1.447, allocations: 225.7 MB / 243.9 MB, free: 10.2 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.0007941/0.0007943, allocations: 89.78 kB / 295 MB, free: 9.746 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.3484/0.3484, allocations: 44.33 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 61.9 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001664/0.3358, allocations: 1.32 MB / 0.514 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000634/0.3364, allocations: 465.7 kB / 0.5145 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.3365, allocations: 0 / 0.5145 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.3369, allocations: 453.7 kB / 0.5149 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.3372, allocations: 248.7 kB / 0.5151 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.3375, allocations: 122.6 kB / 0.5153 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3377, allocations: 150.1 kB / 0.5154 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.3378, allocations: 16.61 kB / 0.5154 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.3379, allocations: 106.1 kB / 0.5155 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.3381, allocations: 200.1 kB / 0.5157 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3381, allocations: 2.719 kB / 0.5157 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.3382, allocations: 27.91 kB / 0.5157 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3383, allocations: 81.3 kB / 0.5158 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.3384, allocations: 125 kB / 0.5159 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3386, allocations: 235.3 kB / 0.5162 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3386, allocations: 0 / 0.5162 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3386, allocations: 0 / 0.5162 GB, free: 36.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3387, allocations: 0 / 0.5162 GB, free: 36.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005694/0.3392, allocations: 0.5944 MB / 0.5167 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3393, allocations: 11.25 kB / 0.5168 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3393, allocations: 36.56 kB / 0.5168 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3395, allocations: 294.6 kB / 0.5171 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3396, allocations: 1.172 kB / 0.5171 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.3396, allocations: 7.281 kB / 0.5171 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3397, allocations: 59.59 kB / 0.5171 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3398, allocations: 0.7031 kB / 0.5171 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.3398, allocations: 0 / 0.5171 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3398, allocations: 5.125 kB / 0.5171 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.763e-05/0.3399, allocations: 31.73 kB / 0.5172 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.3403, allocations: 388.4 kB / 0.5175 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3405, allocations: 50 kB / 0.5176 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.3406, allocations: 16.77 kB / 0.5176 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3406, allocations: 0 / 0.5176 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.3406, allocations: 35.47 kB / 0.5176 GB, free: 34.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3406, allocations: 1.031 kB / 0.5176 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005583/0.3412, allocations: 236.6 kB / 0.5179 GB, free: 34.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3412, allocations: 52.38 kB / 0.5179 GB, free: 34.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.342, allocations: 0.8601 MB / 0.5188 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.342, allocations: 25.7 kB / 0.5188 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3422, allocations: 225.2 kB / 0.519 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.3422, allocations: 15.75 kB / 0.519 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.3422, allocations: 2.969 kB / 0.519 GB, free: 34.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.3423, allocations: 353.2 kB / 0.5193 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.3424, allocations: 24.81 kB / 0.5194 GB, free: 33.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.3425, allocations: 26.02 kB / 0.5194 GB, free: 33.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3426, allocations: 54.8 kB / 0.5194 GB, free: 33.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3426, allocations: 0 / 0.5194 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002188/0.3428, allocations: 126 kB / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3429, allocations: 5.031 kB / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3429, allocations: 0 / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3429, allocations: 2 kB / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.343, allocations: 13.86 kB / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.343, allocations: 0 / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.343, allocations: 11.09 kB / 0.5196 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3431, allocations: 2.156 kB / 0.5196 GB, free: 33.79 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 0.0002038/0.3433, allocations: 220.5 kB / 0.5198 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.3433, allocations: 36.12 kB / 0.5198 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.3436, allocations: 143.9 kB / 0.52 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3436, allocations: 6.688 kB / 0.52 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3436, allocations: 4.281 kB / 0.52 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3437, allocations: 4.781 kB / 0.52 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.3442, allocations: 466 kB / 0.5204 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3442, allocations: 0 / 0.5204 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.3442, allocations: 22.73 kB / 0.5205 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3442, allocations: 0 / 0.5205 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3443, allocations: 3.938 kB / 0.5205 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3443, allocations: 3.938 kB / 0.5205 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3443, allocations: 3.125 kB / 0.5205 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.3445, allocations: 215.1 kB / 0.5207 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.3446, allocations: 112.7 kB / 0.5208 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3446, allocations: 3.938 kB / 0.5208 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.3447, allocations: 9.812 kB / 0.5208 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3447, allocations: 6.5 kB / 0.5208 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3447, allocations: 0 / 0.5208 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000532/0.3453, allocations: 0.6446 MB / 0.5214 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3453, allocations: 0 / 0.5214 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.3455, allocations: 25.69 kB / 0.5215 GB, free: 32.64 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.0009866/0.3465, allocations: 469.1 kB / 0.5219 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3467, allocations: 52.98 kB / 0.522 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3467, allocations: 0 / 0.522 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.3468, allocations: 35.86 kB / 0.522 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3472, allocations: 27.94 kB / 0.522 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.3481, allocations: 0.8559 MB / 0.5229 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3484, allocations: 0.8277 MB / 0.5237 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.301e-05/0.3485, allocations: 10.94 kB / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3485, allocations: 13.41 kB / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3485, allocations: 0 / 0.5237 GB, free: 31.18 MB / 378.7 MB Notification: Performance of Templates: time 0.004268/0.3528, allocations: 1.338 MB / 0.525 GB, free: 31 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches