Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 174.2 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.436/1.436, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0008412/0.0008414, allocations: 99.03 kB / 295.1 MB, free: 9.496 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.3486/0.3486, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 11.94 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001724/0.3279, allocations: 1.292 MB / 0.514 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006266/0.3286, allocations: 462.3 kB / 0.5144 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.3286, allocations: 0 / 0.5144 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3289, allocations: 76.05 kB / 0.5145 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.3291, allocations: 47.94 kB / 0.5145 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3293, allocations: 85.91 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3294, allocations: 73.05 kB / 0.5147 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3296, allocations: 24.34 kB / 0.5147 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.3296, allocations: 22.41 kB / 0.5147 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.3297, allocations: 53.38 kB / 0.5148 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3297, allocations: 2.969 kB / 0.5148 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.3298, allocations: 35.11 kB / 0.5148 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.3299, allocations: 16.25 kB / 0.5148 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.3299, allocations: 58.33 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3301, allocations: 96.94 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3301, allocations: 8 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3301, allocations: 0 / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3301, allocations: 0 / 0.515 GB, free: 36.41 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.0003838/0.3305, allocations: 391.5 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3306, allocations: 8.969 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.3306, allocations: 9.688 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3307, allocations: 200.7 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3308, allocations: 3.312 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3308, allocations: 7.125 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3309, allocations: 66.84 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3309, allocations: 0 / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.331, allocations: 4 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.331, allocations: 2.719 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.3311, allocations: 27.67 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.3313, allocations: 293.3 kB / 0.516 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.3314, allocations: 42.72 kB / 0.516 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.3315, allocations: 22.44 kB / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.3316, allocations: 0 / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3316, allocations: 37.44 kB / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3316, allocations: 0 / 0.5161 GB, free: 35.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007638/0.3324, allocations: 249.2 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3324, allocations: 51.41 kB / 0.5164 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3325, allocations: 211.8 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3326, allocations: 32.3 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.3326, allocations: 101 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3326, allocations: 33.97 kB / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.3327, allocations: 0 / 0.5167 GB, free: 34.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.3327, allocations: 329.3 kB / 0.517 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.3328, allocations: 23.53 kB / 0.5171 GB, free: 34.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.3329, allocations: 37.52 kB / 0.5171 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.333, allocations: 66.83 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.333, allocations: 0 / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001692/0.3332, allocations: 106.7 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3332, allocations: 5.875 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3332, allocations: 0 / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3332, allocations: 0 / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.3333, allocations: 20.92 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3333, allocations: 7.875 kB / 0.5173 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.3334, allocations: 16.94 kB / 0.5173 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3334, allocations: 4 kB / 0.5173 GB, free: 34.47 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 7.217e-05/0.3335, allocations: 124.4 kB / 0.5174 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.3335, allocations: 13.62 kB / 0.5174 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.3337, allocations: 121 kB / 0.5176 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3337, allocations: 7.062 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3338, allocations: 7.219 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3338, allocations: 432 / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.3342, allocations: 397.4 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3342, allocations: 5.188 kB / 0.518 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.3343, allocations: 25.41 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3343, allocations: 5.766 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3343, allocations: 1 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3343, allocations: 1.219 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3343, allocations: 0.9375 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.3345, allocations: 225.8 kB / 0.5182 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.3346, allocations: 90.25 kB / 0.5183 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3346, allocations: 2.047 kB / 0.5183 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3347, allocations: 7.125 kB / 0.5183 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.3347, allocations: 13.09 kB / 0.5183 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3347, allocations: 7.75 kB / 0.5183 GB, free: 33.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.3349, allocations: 155.9 kB / 0.5185 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3349, allocations: 0 / 0.5185 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.3351, allocations: 19.7 kB / 0.5185 GB, free: 33.52 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.001051/0.3362, allocations: 0.5127 MB / 0.519 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.3364, allocations: 67.45 kB / 0.519 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3364, allocations: 1.094 kB / 0.5191 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.3365, allocations: 42.11 kB / 0.5191 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3368, allocations: 26.41 kB / 0.5191 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.3373, allocations: 272 kB / 0.5194 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3375, allocations: 0.711 MB / 0.5201 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.3376, allocations: 12.44 kB / 0.5201 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.3376, allocations: 14.11 kB / 0.5201 GB, free: 32.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3376, allocations: 1.281 kB / 0.5201 GB, free: 32.26 MB / 378.7 MB Notification: Performance of Templates: time 0.003632/0.3412, allocations: 1.262 MB / 0.5213 GB, free: 32.1 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches