Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009343/0.0009342, allocations: 177.9 kB / 17.41 MB, free: 4.285 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.565/1.565, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.001136/0.001136, allocations: 94.3 kB / 295.1 MB, free: 9.504 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.3444/0.3444, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004058, allocations: 12 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.001808/0.3291, allocations: 1.335 MB / 0.514 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000607/0.3297, allocations: 478.1 kB / 0.5145 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.3297, allocations: 0 / 0.5145 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.33, allocations: 55.95 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3301, allocations: 39.83 kB / 0.5146 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3304, allocations: 120.5 kB / 0.5147 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3305, allocations: 69.08 kB / 0.5148 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.3306, allocations: 17.28 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.3306, allocations: 29.69 kB / 0.5148 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.3307, allocations: 40.62 kB / 0.5149 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3307, allocations: 0 / 0.5149 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.3308, allocations: 38.42 kB / 0.5149 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.3309, allocations: 23.38 kB / 0.5149 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.3309, allocations: 54.08 kB / 0.515 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.331, allocations: 94.98 kB / 0.5151 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3311, allocations: 4 kB / 0.5151 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3311, allocations: 0 / 0.5151 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.3311, allocations: 3.031 kB / 0.5151 GB, free: 36.29 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.0003469/0.3314, allocations: 388.7 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3315, allocations: 8.125 kB / 0.5154 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.3315, allocations: 14.41 kB / 0.5155 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3316, allocations: 188.3 kB / 0.5156 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3317, allocations: 12.38 kB / 0.5156 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3317, allocations: 11.03 kB / 0.5157 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3318, allocations: 69.73 kB / 0.5157 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3318, allocations: 0 / 0.5157 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.3319, allocations: 4 kB / 0.5157 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3319, allocations: 2.656 kB / 0.5157 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.332, allocations: 47.19 kB / 0.5158 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.3323, allocations: 304 kB / 0.5161 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3325, allocations: 60.45 kB / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.3326, allocations: 31.64 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3326, allocations: 3.984 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.3326, allocations: 34.59 kB / 0.5162 GB, free: 35.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3326, allocations: 0 / 0.5162 GB, free: 35.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001156/0.3338, allocations: 450.5 kB / 0.5166 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3338, allocations: 61.84 kB / 0.5167 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3339, allocations: 167.1 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.3339, allocations: 30.52 kB / 0.5169 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.334, allocations: 95.39 kB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.334, allocations: 35.3 kB / 0.517 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.334, allocations: 5.094 kB / 0.517 GB, free: 34.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.3341, allocations: 320.2 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3342, allocations: 49.8 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3343, allocations: 58.84 kB / 0.5174 GB, free: 34.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.3345, allocations: 116.2 kB / 0.5175 GB, free: 34.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3346, allocations: 0 / 0.5175 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000278/0.3348, allocations: 161 kB / 0.5177 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3349, allocations: 4.062 kB / 0.5177 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3349, allocations: 6.078 kB / 0.5177 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3349, allocations: 0 / 0.5177 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.335, allocations: 33.5 kB / 0.5177 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.335, allocations: 4 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.3351, allocations: 13.06 kB / 0.5177 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3351, allocations: 4.25 kB / 0.5177 GB, free: 34.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 (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.311e-05/0.3352, allocations: 127.7 kB / 0.5179 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3352, allocations: 12.38 kB / 0.5179 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3355, allocations: 175 kB / 0.518 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3355, allocations: 6.938 kB / 0.518 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3356, allocations: 4 kB / 0.518 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3356, allocations: 4.75 kB / 0.518 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.3361, allocations: 482.1 kB / 0.5185 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3361, allocations: 3.062 kB / 0.5185 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.3362, allocations: 30.56 kB / 0.5185 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3362, allocations: 5.25 kB / 0.5185 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3362, allocations: 2.531 kB / 0.5185 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3362, allocations: 1.438 kB / 0.5185 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3362, allocations: 4.062 kB / 0.5186 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3365, allocations: 268.9 kB / 0.5188 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.3366, allocations: 91.42 kB / 0.5189 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3366, allocations: 2.5 kB / 0.5189 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.3367, allocations: 20.7 kB / 0.5189 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3367, allocations: 9.062 kB / 0.5189 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3367, allocations: 6.406 kB / 0.5189 GB, free: 33.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.48e-05/0.3368, allocations: 126.2 kB / 0.5191 GB, free: 33.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3368, allocations: 0 / 0.5191 GB, free: 33.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.3371, allocations: 28.02 kB / 0.5191 GB, free: 33.29 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.0008953/0.338, allocations: 0.5307 MB / 0.5196 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.3383, allocations: 123.5 kB / 0.5197 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3383, allocations: 1.375 kB / 0.5197 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3384, allocations: 68.83 kB / 0.5198 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3387, allocations: 24.16 kB / 0.5198 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.3391, allocations: 296.5 kB / 0.5201 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.3393, allocations: 0.7066 MB / 0.5208 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.229e-05/0.3393, allocations: 14.84 kB / 0.5208 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.3394, allocations: 13.52 kB / 0.5208 GB, free: 31.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3394, allocations: 0 / 0.5208 GB, free: 31.97 MB / 378.7 MB Notification: Performance of Templates: time 0.003212/0.3426, allocations: 1.423 MB / 0.5222 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches