Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001414/0.001414, allocations: 174.3 kB / 17.41 MB, free: 4.41 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.301/1.301, 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.0007764/0.0007763, allocations: 100.8 kB / 295.1 MB, free: 9.484 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.404/0.404, allocations: 44.32 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 12 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3361, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001678/0.3379, allocations: 1.337 MB / 0.514 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006664/0.3386, allocations: 0.4934 MB / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.3386, allocations: 3 kB / 0.5145 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.3389, allocations: 51.78 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.339, allocations: 39.64 kB / 0.5146 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.3394, allocations: 165.5 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3395, allocations: 75.33 kB / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.3396, allocations: 20.73 kB / 0.5149 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.3397, allocations: 31.91 kB / 0.5149 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.3398, allocations: 36.03 kB / 0.5149 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3398, allocations: 0 / 0.5149 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.3399, allocations: 51.5 kB / 0.515 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.3399, allocations: 11.25 kB / 0.515 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.34, allocations: 55.42 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3402, allocations: 101.9 kB / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3402, allocations: 3.938 kB / 0.5151 GB, free: 36.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3402, allocations: 0 / 0.5151 GB, free: 36.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.3402, allocations: 0 / 0.5151 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.0004334/0.3406, allocations: 391.3 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3407, allocations: 11.97 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3407, allocations: 11.66 kB / 0.5155 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3409, allocations: 189.4 kB / 0.5157 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.3409, allocations: 7.281 kB / 0.5157 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3409, allocations: 3.375 kB / 0.5157 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3411, allocations: 71.03 kB / 0.5158 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3411, allocations: 3.938 kB / 0.5158 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3411, allocations: 4 kB / 0.5158 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3411, allocations: 2.875 kB / 0.5158 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3413, allocations: 57.38 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3417, allocations: 325.3 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3419, allocations: 66.03 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.342, allocations: 31.95 kB / 0.5163 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.342, allocations: 1.031 kB / 0.5163 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.3421, allocations: 31.69 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3421, allocations: 4 kB / 0.5163 GB, free: 35.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001367/0.3434, allocations: 496.1 kB / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3435, allocations: 62.61 kB / 0.5168 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3436, allocations: 170.3 kB / 0.517 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.3436, allocations: 25.7 kB / 0.517 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.3436, allocations: 104.6 kB / 0.5171 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3437, allocations: 29.48 kB / 0.5171 GB, free: 34.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.3437, allocations: 3.219 kB / 0.5172 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.3437, allocations: 324.9 kB / 0.5175 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3439, allocations: 62.06 kB / 0.5175 GB, free: 34.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.344, allocations: 57.8 kB / 0.5176 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.3442, allocations: 143.1 kB / 0.5177 GB, free: 34.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3442, allocations: 3 kB / 0.5177 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000308/0.3446, allocations: 179.4 kB / 0.5179 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3446, allocations: 8.969 kB / 0.5179 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3446, allocations: 8.922 kB / 0.5179 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3446, allocations: 4 kB / 0.5179 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3447, allocations: 35.91 kB / 0.5179 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3447, allocations: 0 / 0.5179 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.3448, allocations: 13.23 kB / 0.518 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3448, allocations: 6.25 kB / 0.518 GB, free: 34.21 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.953e-05/0.3449, allocations: 123.1 kB / 0.5181 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3449, allocations: 12.41 kB / 0.5181 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3453, allocations: 208.7 kB / 0.5183 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3453, allocations: 6.062 kB / 0.5183 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3454, allocations: 0 / 0.5183 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3454, allocations: 5.078 kB / 0.5183 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.3459, allocations: 0.5051 MB / 0.5188 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.346, allocations: 1.672 kB / 0.5188 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3461, allocations: 35.12 kB / 0.5188 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3461, allocations: 96 / 0.5188 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3461, allocations: 11.33 kB / 0.5188 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3461, allocations: 0 / 0.5188 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3461, allocations: 3.5 kB / 0.5188 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.3464, allocations: 289 kB / 0.5191 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.3465, allocations: 85.06 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3465, allocations: 7.734 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.3466, allocations: 16.47 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.3466, allocations: 9.438 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.3466, allocations: 7 kB / 0.5192 GB, free: 33.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.098e-05/0.3467, allocations: 132.4 kB / 0.5194 GB, free: 33.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3467, allocations: 0 / 0.5194 GB, free: 33.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.347, allocations: 24.47 kB / 0.5194 GB, free: 33.19 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.0009063/0.3479, allocations: 0.5289 MB / 0.5199 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.3482, allocations: 143.2 kB / 0.52 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3482, allocations: 0 / 0.52 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.3484, allocations: 77.98 kB / 0.5201 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3487, allocations: 24.02 kB / 0.5201 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.3491, allocations: 316.1 kB / 0.5204 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3493, allocations: 0.7113 MB / 0.5211 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.3494, allocations: 31.52 kB / 0.5212 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3494, allocations: 18.42 kB / 0.5212 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3494, allocations: 0 / 0.5212 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.0033/0.3527, allocations: 1.487 MB / 0.5226 GB, free: 31.69 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches