Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 178.5 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.411/1.411, allocations: 225.7 MB / 243.9 MB, free: 8.441 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.0007016/0.0007016, allocations: 93.2 kB / 295.1 MB, free: 9.477 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.3184/0.3184, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 11.94 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3359, allocations: 61.9 MB / 0.5127 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001612/0.3375, allocations: 1.334 MB / 0.514 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006478/0.3382, allocations: 477 kB / 0.5145 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.3383, allocations: 0 / 0.5145 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.3387, allocations: 453.7 kB / 0.5149 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.339, allocations: 248.6 kB / 0.5152 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3393, allocations: 114.4 kB / 0.5153 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3395, allocations: 161.6 kB / 0.5154 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.3396, allocations: 23.31 kB / 0.5155 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.3397, allocations: 96.7 kB / 0.5155 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3399, allocations: 203.6 kB / 0.5157 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3399, allocations: 0 / 0.5157 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.34, allocations: 40.81 kB / 0.5158 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3401, allocations: 84.83 kB / 0.5159 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.3402, allocations: 128.3 kB / 0.516 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3405, allocations: 256.3 kB / 0.5162 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3405, allocations: 0 / 0.5162 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3405, allocations: 0 / 0.5162 GB, free: 36.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3405, allocations: 0 / 0.5162 GB, free: 36.07 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.0005718/0.3411, allocations: 0.5957 MB / 0.5168 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3411, allocations: 9.5 kB / 0.5168 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.3412, allocations: 38.78 kB / 0.5169 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3414, allocations: 295.4 kB / 0.5171 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3414, allocations: 9.438 kB / 0.5171 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3414, allocations: 7.656 kB / 0.5172 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3416, allocations: 61.34 kB / 0.5172 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3416, allocations: 0 / 0.5172 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3416, allocations: 1.5 kB / 0.5172 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3416, allocations: 0 / 0.5172 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.3417, allocations: 34.98 kB / 0.5172 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.3422, allocations: 398.7 kB / 0.5176 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3423, allocations: 49.16 kB / 0.5177 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.3423, allocations: 21.48 kB / 0.5177 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3424, allocations: 4.75 kB / 0.5177 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.3424, allocations: 35.91 kB / 0.5177 GB, free: 34.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3424, allocations: 0 / 0.5177 GB, free: 34.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009206/0.3433, allocations: 322 kB / 0.518 GB, free: 34.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.3434, allocations: 62.34 kB / 0.5181 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.3441, allocations: 0.8519 MB / 0.5189 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.3441, allocations: 25.7 kB / 0.519 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3442, allocations: 224.2 kB / 0.5192 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.3442, allocations: 29.86 kB / 0.5192 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.3442, allocations: 0 / 0.5192 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.3443, allocations: 364.2 kB / 0.5195 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.3444, allocations: 33.17 kB / 0.5196 GB, free: 33.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.3445, allocations: 29.64 kB / 0.5196 GB, free: 33.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3446, allocations: 68.12 kB / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3446, allocations: 0 / 0.5197 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000188/0.3448, allocations: 143.1 kB / 0.5198 GB, free: 33.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3448, allocations: 3.062 kB / 0.5198 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3448, allocations: 0 / 0.5198 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3448, allocations: 3.094 kB / 0.5198 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.3449, allocations: 21.61 kB / 0.5198 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.345, allocations: 8 kB / 0.5198 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.345, allocations: 9.75 kB / 0.5198 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.345, allocations: 3.125 kB / 0.5199 GB, free: 33.54 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 (8): * Single equations (assignments): 8 * 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.0001317/0.3452, allocations: 218.2 kB / 0.5201 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.3452, allocations: 44.06 kB / 0.5201 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.3455, allocations: 174.1 kB / 0.5203 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3455, allocations: 0 / 0.5203 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3455, allocations: 3.938 kB / 0.5203 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3455, allocations: 0 / 0.5203 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.346, allocations: 0.4992 MB / 0.5208 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.346, allocations: 3.938 kB / 0.5208 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.3461, allocations: 25.44 kB / 0.5208 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3461, allocations: 2.938 kB / 0.5208 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3461, allocations: 0 / 0.5208 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3461, allocations: 3 kB / 0.5208 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3462, allocations: 0 / 0.5208 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.3464, allocations: 246.8 kB / 0.521 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3464, allocations: 116.9 kB / 0.5211 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3465, allocations: 2.844 kB / 0.5211 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.3465, allocations: 12.94 kB / 0.5212 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3466, allocations: 6.266 kB / 0.5212 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.3466, allocations: 6.875 kB / 0.5212 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004687/0.3471, allocations: 0.6414 MB / 0.5218 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3471, allocations: 0 / 0.5218 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.3473, allocations: 31.8 kB / 0.5218 GB, free: 32.34 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 (8): * Single equations (assignments): 8 * 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.0009845/0.3483, allocations: 0.5222 MB / 0.5223 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3485, allocations: 75.84 kB / 0.5224 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3485, allocations: 0 / 0.5224 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.3486, allocations: 40.17 kB / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.349, allocations: 30.42 kB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.3499, allocations: 0.8948 MB / 0.5233 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3501, allocations: 0.8221 MB / 0.5242 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.3502, allocations: 16.61 kB / 0.5242 GB, free: 30.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.3502, allocations: 21.09 kB / 0.5242 GB, free: 30.8 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3502, allocations: 0 / 0.5242 GB, free: 30.8 MB / 378.7 MB Notification: Performance of Templates: time 0.004043/0.3543, allocations: 1.578 MB / 0.5257 GB, free: 30.6 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches