Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 174.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.296/1.296, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0008337/0.0008337, allocations: 89.23 kB / 295 MB, free: 9.484 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.3112/0.3112, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.000453, allocations: 11.94 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 61.89 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.001939/0.3637, allocations: 1.626 MB / 0.5143 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3652, allocations: 1.152 MB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.3653, allocations: 2.719 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3655, allocations: 45.94 kB / 0.5155 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.3658, allocations: 128.7 kB / 0.5156 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3668, allocations: 0.5609 MB / 0.5162 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.3671, allocations: 259.6 kB / 0.5164 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3672, allocations: 72.61 kB / 0.5165 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3674, allocations: 103.4 kB / 0.5166 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3676, allocations: 163.1 kB / 0.5167 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.3676, allocations: 6.219 kB / 0.5167 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3677, allocations: 51.06 kB / 0.5168 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3679, allocations: 137.6 kB / 0.5169 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.368, allocations: 169.4 kB / 0.5171 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.3683, allocations: 342.6 kB / 0.5174 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3683, allocations: 1.344 kB / 0.5174 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3683, allocations: 0 / 0.5174 GB, free: 35.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3684, allocations: 0.6875 kB / 0.5174 GB, free: 35.06 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007569/0.3691, allocations: 0.6802 MB / 0.5181 GB, free: 34.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3692, allocations: 13.19 kB / 0.5181 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.3692, allocations: 56.47 kB / 0.5181 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.3697, allocations: 443.4 kB / 0.5186 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3697, allocations: 13.42 kB / 0.5186 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.3698, allocations: 22.14 kB / 0.5186 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3701, allocations: 145.7 kB / 0.5187 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3701, allocations: 0.9688 kB / 0.5187 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3701, allocations: 9.656 kB / 0.5187 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3702, allocations: 6.844 kB / 0.5188 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.3704, allocations: 102.4 kB / 0.5189 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.3712, allocations: 0.6816 MB / 0.5195 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3714, allocations: 108.9 kB / 0.5196 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.3715, allocations: 60.84 kB / 0.5197 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.3715, allocations: 9.906 kB / 0.5197 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3716, allocations: 34.5 kB / 0.5197 GB, free: 33.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.3716, allocations: 0 / 0.5197 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001271/0.3728, allocations: 0.5634 MB / 0.5203 GB, free: 33.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3729, allocations: 80.2 kB / 0.5203 GB, free: 33.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.3736, allocations: 0.8514 MB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3737, allocations: 33.7 kB / 0.5212 GB, free: 32.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3738, allocations: 245.9 kB / 0.5214 GB, free: 32.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3738, allocations: 59.23 kB / 0.5215 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.3738, allocations: 0 / 0.5215 GB, free: 32.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.3739, allocations: 373.4 kB / 0.5219 GB, free: 32.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3741, allocations: 67.38 kB / 0.5219 GB, free: 32.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3742, allocations: 90.3 kB / 0.522 GB, free: 32.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.3745, allocations: 177.7 kB / 0.5222 GB, free: 32.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3745, allocations: 0 / 0.5222 GB, free: 32.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003869/0.3749, allocations: 259.2 kB / 0.5224 GB, free: 31.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.375, allocations: 5.062 kB / 0.5224 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.375, allocations: 0 / 0.5224 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.375, allocations: 6.203 kB / 0.5224 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.3752, allocations: 37.23 kB / 0.5225 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3752, allocations: 10.47 kB / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.3753, allocations: 13.39 kB / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3753, allocations: 6.531 kB / 0.5225 GB, free: 31.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001596/0.3755, allocations: 226 kB / 0.5227 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.3756, allocations: 51.22 kB / 0.5228 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.3761, allocations: 308.1 kB / 0.5231 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3761, allocations: 2.875 kB / 0.5231 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3761, allocations: 0 / 0.5231 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3762, allocations: 2.844 kB / 0.5231 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008471/0.377, allocations: 0.8077 MB / 0.5239 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.377, allocations: 0 / 0.5239 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3772, allocations: 41.19 kB / 0.5239 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3772, allocations: 10.8 kB / 0.5239 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3772, allocations: 6.938 kB / 0.5239 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3772, allocations: 3.938 kB / 0.5239 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3772, allocations: 0 / 0.5239 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.3776, allocations: 431.9 kB / 0.5243 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.3777, allocations: 148.5 kB / 0.5245 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3778, allocations: 4 kB / 0.5245 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.378, allocations: 18.92 kB / 0.5245 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.378, allocations: 20.45 kB / 0.5245 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.378, allocations: 2.969 kB / 0.5245 GB, free: 30.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005097/0.3786, allocations: 0.6201 MB / 0.5251 GB, free: 30.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 0.5251 GB, free: 30.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.3789, allocations: 52 kB / 0.5252 GB, free: 30.44 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 (16): * Single equations (assignments): 16 * 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.0008441/0.3797, allocations: 476.1 kB / 0.5256 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.3801, allocations: 178.1 kB / 0.5258 GB, free: 30.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3801, allocations: 4 kB / 0.5258 GB, free: 30.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.3803, allocations: 100.2 kB / 0.5259 GB, free: 30.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.3809, allocations: 65.92 kB / 0.526 GB, free: 30.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.382, allocations: 1.034 MB / 0.527 GB, free: 29.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3822, allocations: 0.8687 MB / 0.5278 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.3824, allocations: 85.86 kB / 0.5279 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.3825, allocations: 39.53 kB / 0.5279 GB, free: 28.77 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.3825, allocations: 0 / 0.5279 GB, free: 28.77 MB / 378.7 MB Notification: Performance of Templates: time 0.006651/0.3892, allocations: 3.726 MB / 0.5316 GB, free: 28.44 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches