Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 177.8 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.335/1.335, allocations: 225.7 MB / 243.9 MB, free: 8.488 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.0007123/0.0007123, allocations: 85.84 kB / 295 MB, free: 9.516 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.3277/0.3277, allocations: 44.31 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 463.1 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001445/0.346, allocations: 1.276 MB / 0.514 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005637/0.3465, allocations: 463.4 kB / 0.5144 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.3466, allocations: 0.5 kB / 0.5144 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.3468, allocations: 74.44 kB / 0.5145 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.347, allocations: 54.05 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.3472, allocations: 81.41 kB / 0.5146 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3473, allocations: 73.5 kB / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.3474, allocations: 20.17 kB / 0.5147 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.3475, allocations: 29.22 kB / 0.5147 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.3476, allocations: 53 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3476, allocations: 2.969 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.3477, allocations: 34.41 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.3477, allocations: 19.83 kB / 0.5149 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.3478, allocations: 51.17 kB / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.3479, allocations: 101.3 kB / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3479, allocations: 0 / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3479, allocations: 0 / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3479, allocations: 0 / 0.515 GB, free: 36.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003676/0.3483, allocations: 401.8 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3483, allocations: 7.062 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.3484, allocations: 9.75 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.3485, allocations: 201.4 kB / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.3486, allocations: 1.438 kB / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3486, allocations: 2.531 kB / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3487, allocations: 63.73 kB / 0.5157 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3487, allocations: 3.938 kB / 0.5157 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.3488, allocations: 4 kB / 0.5157 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3488, allocations: 1.188 kB / 0.5157 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.3489, allocations: 28.14 kB / 0.5157 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.3492, allocations: 289.6 kB / 0.516 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3493, allocations: 52.67 kB / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.3494, allocations: 20.39 kB / 0.516 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3494, allocations: 1.578 kB / 0.516 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3494, allocations: 31.75 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3494, allocations: 0 / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008538/0.3503, allocations: 257.7 kB / 0.5163 GB, free: 35.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3503, allocations: 51.41 kB / 0.5164 GB, free: 35.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3505, allocations: 208.3 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3505, allocations: 29.7 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.3506, allocations: 101.6 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3506, allocations: 27.28 kB / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.3506, allocations: 4 kB / 0.5167 GB, free: 34.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.3507, allocations: 323.3 kB / 0.517 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.3508, allocations: 31.41 kB / 0.5171 GB, free: 34.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.3508, allocations: 23.48 kB / 0.5171 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.351, allocations: 82.25 kB / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.351, allocations: 0 / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000188/0.3512, allocations: 112.3 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3512, allocations: 9.625 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3512, allocations: 0 / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3512, allocations: 0 / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.3513, allocations: 19.56 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3514, allocations: 3.938 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.3514, allocations: 9.797 kB / 0.5173 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3514, allocations: 6.719 kB / 0.5173 GB, free: 34.44 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 8.273e-05/0.3515, allocations: 125.8 kB / 0.5174 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.3515, allocations: 17.62 kB / 0.5174 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3518, allocations: 121.9 kB / 0.5176 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3518, allocations: 6.297 kB / 0.5176 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3518, allocations: 3.938 kB / 0.5176 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3518, allocations: 0 / 0.5176 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.3523, allocations: 407.8 kB / 0.518 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3523, allocations: 0 / 0.518 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.3524, allocations: 31.69 kB / 0.518 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3524, allocations: 4.031 kB / 0.518 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3524, allocations: 2.688 kB / 0.518 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3524, allocations: 0 / 0.518 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3524, allocations: 2.625 kB / 0.518 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.3526, allocations: 209.1 kB / 0.5182 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.3527, allocations: 89.11 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3527, allocations: 5.031 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.3528, allocations: 8.703 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3528, allocations: 11.92 kB / 0.5183 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.3528, allocations: 1.844 kB / 0.5183 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.3529, allocations: 156.2 kB / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 4 kB / 0.5185 GB, free: 33.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.3532, allocations: 21.16 kB / 0.5185 GB, free: 33.49 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.0009979/0.3542, allocations: 0.51 MB / 0.519 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3544, allocations: 73.72 kB / 0.5191 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3544, allocations: 0 / 0.5191 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.3545, allocations: 40.92 kB / 0.5191 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3548, allocations: 23.27 kB / 0.5191 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.3553, allocations: 276.6 kB / 0.5194 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.3555, allocations: 0.7112 MB / 0.5201 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.3555, allocations: 14.73 kB / 0.5201 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.3556, allocations: 13.34 kB / 0.5201 GB, free: 32.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3556, allocations: 3.938 kB / 0.5201 GB, free: 32.22 MB / 378.7 MB Notification: Performance of Templates: time 0.003429/0.359, allocations: 1.26 MB / 0.5213 GB, free: 32.06 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches