Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 176.7 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.425/1.425, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008146/0.000815, allocations: 90.02 kB / 295 MB, free: 9.508 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.3363/0.3363, allocations: 44.31 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3229, allocations: 61.9 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001665/0.3246, allocations: 1.284 MB / 0.514 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.3253, allocations: 468.9 kB / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.3254, allocations: 0 / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3257, allocations: 77.14 kB / 0.5145 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3258, allocations: 54.73 kB / 0.5146 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.3261, allocations: 97.17 kB / 0.5147 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3263, allocations: 74.41 kB / 0.5147 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.3264, allocations: 21.2 kB / 0.5147 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.3264, allocations: 19.16 kB / 0.5148 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.3265, allocations: 48.61 kB / 0.5148 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3265, allocations: 0 / 0.5148 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.3266, allocations: 37.64 kB / 0.5148 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.3267, allocations: 16.88 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.3267, allocations: 55.25 kB / 0.5149 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3269, allocations: 100.9 kB / 0.515 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3269, allocations: 3.938 kB / 0.515 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3269, allocations: 0 / 0.515 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3269, allocations: 0 / 0.515 GB, free: 36.46 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.0003983/0.3273, allocations: 387.4 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3273, allocations: 8.906 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.3274, allocations: 10.72 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3275, allocations: 196 kB / 0.5156 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3275, allocations: 4.375 kB / 0.5156 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3276, allocations: 7.344 kB / 0.5156 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3277, allocations: 59 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3277, allocations: 3.984 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3278, allocations: 6.969 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3278, allocations: 0 / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.3279, allocations: 31.48 kB / 0.5157 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.3282, allocations: 299.1 kB / 0.516 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3283, allocations: 50.09 kB / 0.516 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.3284, allocations: 15.27 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.3284, allocations: 4 kB / 0.516 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.3284, allocations: 37.19 kB / 0.5161 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3284, allocations: 0 / 0.5161 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008653/0.3293, allocations: 265 kB / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.3294, allocations: 59.41 kB / 0.5164 GB, free: 35.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3295, allocations: 195.8 kB / 0.5166 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.3295, allocations: 29.7 kB / 0.5166 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.3296, allocations: 105 kB / 0.5167 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3296, allocations: 18.75 kB / 0.5167 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3296, allocations: 4 kB / 0.5167 GB, free: 34.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.3297, allocations: 322.3 kB / 0.517 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.3298, allocations: 34.36 kB / 0.5171 GB, free: 34.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.3298, allocations: 37.91 kB / 0.5171 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.33, allocations: 78.62 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.33, allocations: 1.375 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002044/0.3302, allocations: 125.8 kB / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3302, allocations: 4.75 kB / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3302, allocations: 6.141 kB / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3303, allocations: 0 / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.3304, allocations: 18.83 kB / 0.5173 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3304, allocations: 14.31 kB / 0.5173 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.3304, allocations: 11.2 kB / 0.5174 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3304, allocations: 0 / 0.5174 GB, free: 34.52 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 6.008e-05/0.3305, allocations: 128.2 kB / 0.5175 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3305, allocations: 9.625 kB / 0.5175 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.3308, allocations: 137.4 kB / 0.5176 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3308, allocations: 0 / 0.5176 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3308, allocations: 3.938 kB / 0.5176 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3308, allocations: 1.078 kB / 0.5176 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.3312, allocations: 426.6 kB / 0.518 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3313, allocations: 0 / 0.518 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.3313, allocations: 28.61 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3313, allocations: 0 / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3314, allocations: 6.531 kB / 0.5181 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3314, allocations: 0.8906 kB / 0.5181 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3314, allocations: 3.938 kB / 0.5181 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3316, allocations: 216.6 kB / 0.5183 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.3316, allocations: 96.7 kB / 0.5184 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3317, allocations: 2.125 kB / 0.5184 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.3317, allocations: 8.719 kB / 0.5184 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3318, allocations: 20.11 kB / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3318, allocations: 1.969 kB / 0.5184 GB, free: 33.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.811e-05/0.3319, allocations: 145.9 kB / 0.5185 GB, free: 33.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3319, allocations: 0 / 0.5185 GB, free: 33.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.3321, allocations: 25.55 kB / 0.5186 GB, free: 33.57 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.0008948/0.333, allocations: 0.5105 MB / 0.5191 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3333, allocations: 76.66 kB / 0.5191 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3333, allocations: 7.938 kB / 0.5191 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.3334, allocations: 41.53 kB / 0.5192 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3337, allocations: 22.8 kB / 0.5192 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.3341, allocations: 289.8 kB / 0.5195 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.3342, allocations: 0.7046 MB / 0.5202 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.3343, allocations: 21.56 kB / 0.5202 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.3343, allocations: 17.03 kB / 0.5202 GB, free: 32.29 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3343, allocations: 0.9375 kB / 0.5202 GB, free: 32.29 MB / 378.7 MB Notification: Performance of Templates: time 0.003158/0.3375, allocations: 1.275 MB / 0.5214 GB, free: 32.14 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches