Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 178 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.342/1.342, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.000833/0.0008334, allocations: 97.86 kB / 295 MB, free: 9.496 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.3159/0.3159, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 12 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3454, allocations: 61.9 MB / 0.5127 GB, free: 38.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001585/0.3471, allocations: 1.341 MB / 0.514 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.3477, allocations: 486.6 kB / 0.5145 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.3478, allocations: 3.031 kB / 0.5145 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.3482, allocations: 451.1 kB / 0.5149 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.3486, allocations: 252.9 kB / 0.5152 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3489, allocations: 118.1 kB / 0.5153 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.349, allocations: 169.9 kB / 0.5155 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.3491, allocations: 15.84 kB / 0.5155 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.3492, allocations: 105 kB / 0.5156 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3494, allocations: 201.1 kB / 0.5158 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3494, allocations: 0 / 0.5158 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.3495, allocations: 44.42 kB / 0.5158 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3496, allocations: 77.17 kB / 0.5159 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.3497, allocations: 131.5 kB / 0.516 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.35, allocations: 258.5 kB / 0.5163 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.35, allocations: 0 / 0.5163 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.35, allocations: 0 / 0.5163 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.35, allocations: 1.031 kB / 0.5163 GB, free: 36.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006042/0.3506, allocations: 0.6069 MB / 0.5168 GB, free: 35.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3507, allocations: 10.09 kB / 0.5169 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.3507, allocations: 43.19 kB / 0.5169 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.351, allocations: 289 kB / 0.5172 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.351, allocations: 7.188 kB / 0.5172 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.351, allocations: 6.75 kB / 0.5172 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3512, allocations: 72.45 kB / 0.5173 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3512, allocations: 0 / 0.5173 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.3513, allocations: 1.625 kB / 0.5173 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3513, allocations: 0 / 0.5173 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3514, allocations: 55.8 kB / 0.5173 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3518, allocations: 398.2 kB / 0.5177 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3521, allocations: 60.69 kB / 0.5177 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.3522, allocations: 27.61 kB / 0.5178 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3522, allocations: 4.953 kB / 0.5178 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.3522, allocations: 31.47 kB / 0.5178 GB, free: 34.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3522, allocations: 0 / 0.5178 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001392/0.3536, allocations: 0.5308 MB / 0.5183 GB, free: 34.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3537, allocations: 62.84 kB / 0.5184 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.3543, allocations: 0.8519 MB / 0.5192 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3544, allocations: 25.7 kB / 0.5192 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3545, allocations: 208.9 kB / 0.5194 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.3545, allocations: 35.84 kB / 0.5195 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.3545, allocations: 4 kB / 0.5195 GB, free: 34.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.3546, allocations: 359.1 kB / 0.5198 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3547, allocations: 55 kB / 0.5199 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3548, allocations: 46.67 kB / 0.5199 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.355, allocations: 114.1 kB / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.355, allocations: 0 / 0.52 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002789/0.3553, allocations: 195.9 kB / 0.5202 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3554, allocations: 6.578 kB / 0.5202 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3554, allocations: 0 / 0.5202 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3554, allocations: 2.75 kB / 0.5202 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3555, allocations: 34.84 kB / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3555, allocations: 0 / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.3556, allocations: 18.94 kB / 0.5203 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3556, allocations: 0 / 0.5203 GB, free: 33.64 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 (11): * Single equations (assignments): 11 * 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.0001395/0.3557, allocations: 216.9 kB / 0.5205 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.3558, allocations: 40.88 kB / 0.5205 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.3561, allocations: 225.8 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3562, allocations: 3.938 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3562, allocations: 0 / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3562, allocations: 4 kB / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.3568, allocations: 0.5855 MB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3568, allocations: 3 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.3569, allocations: 30.16 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3569, allocations: 0 / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3569, allocations: 2.812 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.357, allocations: 0 / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.357, allocations: 6.906 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3573, allocations: 307 kB / 0.5216 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3573, allocations: 109.5 kB / 0.5218 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3573, allocations: 6.203 kB / 0.5218 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.3575, allocations: 20.22 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3575, allocations: 9.125 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3575, allocations: 6.969 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004522/0.358, allocations: 0.6402 MB / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.358, allocations: 0 / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.3582, allocations: 34.25 kB / 0.5225 GB, free: 32.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001013/0.3593, allocations: 0.5253 MB / 0.523 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.3596, allocations: 125.8 kB / 0.5231 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3596, allocations: 0 / 0.5231 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3597, allocations: 66.34 kB / 0.5231 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3602, allocations: 29.81 kB / 0.5232 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.3611, allocations: 0.931 MB / 0.5241 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3614, allocations: 0.8273 MB / 0.5249 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.335e-05/0.3615, allocations: 17.31 kB / 0.5249 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3615, allocations: 13.22 kB / 0.5249 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3615, allocations: 2.781 kB / 0.5249 GB, free: 30.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004446/0.366, allocations: 1.681 MB / 0.5266 GB, free: 30.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches