Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 177.9 kB / 17.41 MB, free: 4.289 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.323/1.323, allocations: 225.7 MB / 243.9 MB, free: 8.469 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.0007517/0.0007518, allocations: 93.2 kB / 295 MB, free: 9.516 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.309/0.309, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003146, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3176, allocations: 61.9 MB / 0.5127 GB, free: 38.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001911/0.3196, allocations: 1.307 MB / 0.514 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.3204, allocations: 482.3 kB / 0.5145 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.3204, allocations: 0 / 0.5145 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.3209, allocations: 444.6 kB / 0.5149 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.3211, allocations: 247.8 kB / 0.5151 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.3214, allocations: 124.2 kB / 0.5153 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3216, allocations: 143.1 kB / 0.5154 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.3217, allocations: 19.59 kB / 0.5154 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.3218, allocations: 104.9 kB / 0.5155 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.322, allocations: 194.7 kB / 0.5157 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.3221, allocations: 4 kB / 0.5157 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.718e-05/0.3221, allocations: 36.97 kB / 0.5157 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3223, allocations: 77.78 kB / 0.5158 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.438e-05/0.3223, allocations: 120.7 kB / 0.5159 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3226, allocations: 237.1 kB / 0.5162 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3226, allocations: 0 / 0.5162 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3226, allocations: 1.188 kB / 0.5162 GB, free: 36.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3226, allocations: 0 / 0.5162 GB, free: 36.3 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.0005657/0.3232, allocations: 0.5924 MB / 0.5167 GB, free: 35.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3233, allocations: 9.312 kB / 0.5167 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.3233, allocations: 38.47 kB / 0.5168 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3236, allocations: 293.7 kB / 0.5171 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3236, allocations: 5.812 kB / 0.5171 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3236, allocations: 2.875 kB / 0.5171 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3237, allocations: 58.69 kB / 0.5171 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3238, allocations: 1.156 kB / 0.5171 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3238, allocations: 4 kB / 0.5171 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3238, allocations: 5.156 kB / 0.5171 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.3239, allocations: 36.48 kB / 0.5172 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.3243, allocations: 383.1 kB / 0.5175 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3245, allocations: 46.53 kB / 0.5176 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.3246, allocations: 19.92 kB / 0.5176 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3246, allocations: 0.9688 kB / 0.5176 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.3246, allocations: 36.2 kB / 0.5176 GB, free: 34.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3247, allocations: 0 / 0.5176 GB, free: 34.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006123/0.3253, allocations: 232 kB / 0.5179 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.3253, allocations: 55.28 kB / 0.5179 GB, free: 34.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.3261, allocations: 0.8579 MB / 0.5187 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3261, allocations: 32.58 kB / 0.5188 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3263, allocations: 220.2 kB / 0.519 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3263, allocations: 14.72 kB / 0.519 GB, free: 34.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.3263, allocations: 0 / 0.519 GB, free: 34.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.3264, allocations: 367.8 kB / 0.5194 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.3265, allocations: 19.44 kB / 0.5194 GB, free: 33.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.3265, allocations: 25.41 kB / 0.5194 GB, free: 33.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3267, allocations: 59.05 kB / 0.5194 GB, free: 33.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3267, allocations: 0 / 0.5194 GB, free: 33.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001757/0.3268, allocations: 129.9 kB / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3269, allocations: 5.5 kB / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3269, allocations: 0 / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3269, allocations: 0 / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.889e-05/0.327, allocations: 16.61 kB / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.327, allocations: 0 / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.327, allocations: 9.156 kB / 0.5196 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.327, allocations: 2.781 kB / 0.5196 GB, free: 33.82 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.0001326/0.3272, allocations: 215.6 kB / 0.5198 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.3272, allocations: 39.53 kB / 0.5198 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3275, allocations: 137 kB / 0.52 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3275, allocations: 0 / 0.52 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3275, allocations: 7.938 kB / 0.52 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3275, allocations: 3.938 kB / 0.52 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.3279, allocations: 467.9 kB / 0.5204 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.328, allocations: 0 / 0.5204 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.328, allocations: 19.02 kB / 0.5205 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.328, allocations: 0 / 0.5205 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.328, allocations: 3.938 kB / 0.5205 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.328, allocations: 3.938 kB / 0.5205 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.328, allocations: 2.906 kB / 0.5205 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.3282, allocations: 217.4 kB / 0.5207 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.3283, allocations: 116.1 kB / 0.5208 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3283, allocations: 3.938 kB / 0.5208 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.3284, allocations: 9.203 kB / 0.5208 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3284, allocations: 6.359 kB / 0.5208 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3285, allocations: 0 / 0.5208 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004526/0.3289, allocations: 0.6397 MB / 0.5214 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3289, allocations: 0 / 0.5214 GB, free: 32.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.3292, allocations: 36.03 kB / 0.5215 GB, free: 32.67 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.0008897/0.3301, allocations: 455.4 kB / 0.5219 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3302, allocations: 51.06 kB / 0.5219 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3303, allocations: 3.188 kB / 0.5219 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.3303, allocations: 30.59 kB / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3307, allocations: 26 kB / 0.522 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/0.3316, allocations: 0.8667 MB / 0.5228 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3318, allocations: 0.8302 MB / 0.5237 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.3319, allocations: 22.14 kB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.3319, allocations: 10.5 kB / 0.5237 GB, free: 31.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3319, allocations: 0 / 0.5237 GB, free: 31.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003874/0.3358, allocations: 1.333 MB / 0.525 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches