Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 173.2 kB / 17.4 MB, free: 4.391 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.449/1.449, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.000717/0.000717, allocations: 101.9 kB / 295.1 MB, free: 9.465 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.3207/0.3207, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003078, allocations: 15.94 kB / 463.1 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3126, allocations: 61.9 MB / 0.5127 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002018/0.3146, allocations: 1.624 MB / 0.5143 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.316, allocations: 0.9817 MB / 0.5153 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.3162, allocations: 6.875 kB / 0.5153 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.3167, allocations: 247.5 kB / 0.5155 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.3171, allocations: 181.4 kB / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3184, allocations: 0.6113 MB / 0.5163 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.3188, allocations: 298.8 kB / 0.5166 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.319, allocations: 67.58 kB / 0.5166 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.3192, allocations: 119.9 kB / 0.5168 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3194, allocations: 176.1 kB / 0.5169 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.3194, allocations: 6.812 kB / 0.5169 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3196, allocations: 92.84 kB / 0.517 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3197, allocations: 79.03 kB / 0.5171 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3199, allocations: 127 kB / 0.5172 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.3203, allocations: 311.3 kB / 0.5175 GB, free: 34.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3203, allocations: 0 / 0.5175 GB, free: 34.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3203, allocations: 1.156 kB / 0.5175 GB, free: 34.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3203, allocations: 0 / 0.5175 GB, free: 34.97 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007314/0.3211, allocations: 0.5833 MB / 0.5181 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3211, allocations: 9.781 kB / 0.5181 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.743e-05/0.3212, allocations: 36.91 kB / 0.5181 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.3216, allocations: 315 kB / 0.5184 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3216, allocations: 5.281 kB / 0.5184 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3217, allocations: 11.48 kB / 0.5184 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3219, allocations: 129 kB / 0.5186 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3219, allocations: 0 / 0.5186 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.322, allocations: 5.344 kB / 0.5186 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.322, allocations: 6.469 kB / 0.5186 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.3222, allocations: 97.95 kB / 0.5187 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.3228, allocations: 0.4983 MB / 0.5192 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.323, allocations: 111.2 kB / 0.5193 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.323, allocations: 42.33 kB / 0.5193 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3231, allocations: 2.844 kB / 0.5193 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.3231, allocations: 30.78 kB / 0.5193 GB, free: 33.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.3231, allocations: 0 / 0.5193 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008313/0.3239, allocations: 457.5 kB / 0.5198 GB, free: 33.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.324, allocations: 62.19 kB / 0.5198 GB, free: 33.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.3245, allocations: 0.5172 MB / 0.5203 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3245, allocations: 25.7 kB / 0.5204 GB, free: 33.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.3246, allocations: 199.8 kB / 0.5206 GB, free: 32.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3246, allocations: 52.53 kB / 0.5206 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.3246, allocations: 4 kB / 0.5206 GB, free: 32.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.3247, allocations: 346.8 kB / 0.5209 GB, free: 32.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3249, allocations: 75.8 kB / 0.521 GB, free: 32.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.325, allocations: 78.5 kB / 0.5211 GB, free: 32.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.3252, allocations: 156.9 kB / 0.5212 GB, free: 32.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3252, allocations: 7.875 kB / 0.5212 GB, free: 32.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003188/0.3256, allocations: 233.5 kB / 0.5215 GB, free: 32.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3256, allocations: 6.812 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3256, allocations: 6.594 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3256, allocations: 0 / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3258, allocations: 35.95 kB / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3258, allocations: 0 / 0.5215 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.3258, allocations: 16.56 kB / 0.5215 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3259, allocations: 9.531 kB / 0.5215 GB, free: 32.29 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 (17): * Single equations (assignments): 17 * 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.0001248/0.326, allocations: 180.8 kB / 0.5217 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3261, allocations: 37.16 kB / 0.5217 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.3265, allocations: 290.5 kB / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3265, allocations: 2.781 kB / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3265, allocations: 0 / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3265, allocations: 0 / 0.522 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.3272, allocations: 0.6709 MB / 0.5227 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3272, allocations: 0 / 0.5227 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3273, allocations: 39.52 kB / 0.5227 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3273, allocations: 0 / 0.5227 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3273, allocations: 3 kB / 0.5227 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3273, allocations: 2.812 kB / 0.5227 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3273, allocations: 7.938 kB / 0.5227 GB, free: 31.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.3276, allocations: 332.8 kB / 0.5231 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.3277, allocations: 112.7 kB / 0.5232 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.3277, allocations: 6.75 kB / 0.5232 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.3278, allocations: 10.5 kB / 0.5232 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3279, allocations: 19.2 kB / 0.5232 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3279, allocations: 6.438 kB / 0.5232 GB, free: 31.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002952/0.3282, allocations: 390 kB / 0.5236 GB, free: 31.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3282, allocations: 0 / 0.5236 GB, free: 31.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.3285, allocations: 49.64 kB / 0.5236 GB, free: 31.05 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 (17): * Single equations (assignments): 17 * 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.001411/0.3299, allocations: 0.8321 MB / 0.5244 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.3302, allocations: 171 kB / 0.5246 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3302, allocations: 0 / 0.5246 GB, free: 30.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3304, allocations: 100.7 kB / 0.5247 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.3308, allocations: 63.44 kB / 0.5248 GB, free: 30.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.3317, allocations: 0.8009 MB / 0.5255 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3319, allocations: 0.8214 MB / 0.5263 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3321, allocations: 55.02 kB / 0.5264 GB, free: 29.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.3322, allocations: 25.12 kB / 0.5264 GB, free: 29.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3322, allocations: 0 / 0.5264 GB, free: 29.27 MB / 378.7 MB Notification: Performance of Templates: time 0.006252/0.3384, allocations: 3.104 MB / 0.5294 GB, free: 28.95 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches