Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 178.2 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.34/1.34, allocations: 225.7 MB / 243.9 MB, free: 8.426 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.0008105/0.0008107, allocations: 91.41 kB / 295 MB, free: 9.469 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.3569/0.3569, allocations: 44.33 MB / 390.5 MB, free: 37.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003302, allocations: 15.98 kB / 463.1 MB, free: 192 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3482, allocations: 61.9 MB / 0.5127 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.0015/0.3498, allocations: 1.338 MB / 0.514 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005683/0.3504, allocations: 481.2 kB / 0.5145 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.3504, allocations: 0 / 0.5145 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3506, allocations: 53.66 kB / 0.5146 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.3507, allocations: 48.19 kB / 0.5146 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.351, allocations: 129.7 kB / 0.5147 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3511, allocations: 72.59 kB / 0.5148 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.3512, allocations: 9.594 kB / 0.5148 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.3513, allocations: 32.45 kB / 0.5148 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.3514, allocations: 39.64 kB / 0.5149 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3514, allocations: 0 / 0.5149 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.3515, allocations: 39.7 kB / 0.5149 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.3515, allocations: 29.05 kB / 0.5149 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3516, allocations: 52.59 kB / 0.515 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.3517, allocations: 100.5 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3517, allocations: 2.938 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3517, allocations: 0 / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.3517, allocations: 0 / 0.5151 GB, free: 36.2 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.0003641/0.3521, allocations: 400.8 kB / 0.5155 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.3521, allocations: 8.781 kB / 0.5155 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.3522, allocations: 16.34 kB / 0.5155 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3523, allocations: 193.1 kB / 0.5157 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3523, allocations: 4.141 kB / 0.5157 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3524, allocations: 6.531 kB / 0.5157 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3525, allocations: 75.11 kB / 0.5158 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3525, allocations: 3.031 kB / 0.5158 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3525, allocations: 0 / 0.5158 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3526, allocations: 0 / 0.5158 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3527, allocations: 46.11 kB / 0.5158 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.353, allocations: 304.3 kB / 0.5161 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3532, allocations: 60.03 kB / 0.5162 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.3533, allocations: 32.33 kB / 0.5162 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3533, allocations: 4.344 kB / 0.5162 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.3534, allocations: 35.84 kB / 0.5162 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3534, allocations: 3.938 kB / 0.5162 GB, free: 35.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001306/0.3547, allocations: 471.4 kB / 0.5167 GB, free: 34.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.3547, allocations: 54.78 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3548, allocations: 186.1 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.3549, allocations: 25.7 kB / 0.5169 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.3549, allocations: 100.9 kB / 0.517 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3549, allocations: 33.58 kB / 0.5171 GB, free: 34.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.3549, allocations: 4 kB / 0.5171 GB, free: 34.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.355, allocations: 321 kB / 0.5174 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3551, allocations: 52.53 kB / 0.5174 GB, free: 34.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3552, allocations: 51.73 kB / 0.5175 GB, free: 34.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3554, allocations: 116.8 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3554, allocations: 0 / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002727/0.3557, allocations: 163.6 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3557, allocations: 5.031 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3558, allocations: 3.938 kB / 0.5177 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3558, allocations: 1.438 kB / 0.5177 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3559, allocations: 31.3 kB / 0.5178 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3559, allocations: 1.094 kB / 0.5178 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.356, allocations: 13.42 kB / 0.5178 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.356, allocations: 6.281 kB / 0.5178 GB, free: 34.18 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 6.844e-05/0.356, allocations: 130.4 kB / 0.5179 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3561, allocations: 9.312 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.3564, allocations: 191.6 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.3565, allocations: 1 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3565, allocations: 1.031 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3565, allocations: 0 / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.357, allocations: 487.7 kB / 0.5186 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3571, allocations: 2.141 kB / 0.5186 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3572, allocations: 29.44 kB / 0.5186 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3572, allocations: 1.125 kB / 0.5186 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3572, allocations: 9.5 kB / 0.5186 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3572, allocations: 5.969 kB / 0.5186 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3572, allocations: 1.156 kB / 0.5186 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3575, allocations: 268.3 kB / 0.5189 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.3576, allocations: 89.58 kB / 0.519 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3576, allocations: 2.031 kB / 0.519 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.3577, allocations: 19.73 kB / 0.519 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3577, allocations: 18.12 kB / 0.519 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.3578, allocations: 3.641 kB / 0.519 GB, free: 33.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.3578, allocations: 141.4 kB / 0.5191 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 2.656 kB / 0.5191 GB, free: 33.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.3581, allocations: 24.58 kB / 0.5192 GB, free: 33.16 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.000941/0.359, allocations: 0.5245 MB / 0.5197 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3593, allocations: 125 kB / 0.5198 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3593, allocations: 2.969 kB / 0.5198 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3595, allocations: 69.5 kB / 0.5199 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3598, allocations: 16.28 kB / 0.5199 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.3603, allocations: 306.5 kB / 0.5202 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3604, allocations: 0.7134 MB / 0.5209 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.257e-05/0.3605, allocations: 16.52 kB / 0.5209 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.3605, allocations: 12.16 kB / 0.5209 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3605, allocations: 0.8438 kB / 0.5209 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.003451/0.364, allocations: 1.425 MB / 0.5223 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches