Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 174.6 kB / 17.41 MB, free: 4.289 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.311/1.311, allocations: 225.7 MB / 243.9 MB, free: 8.426 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.0007213/0.0007214, allocations: 93.31 kB / 295 MB, free: 9.469 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.312/0.312, allocations: 44.32 MB / 390.5 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.000355, allocations: 8 kB / 463.1 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3262, allocations: 61.9 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00151/0.3278, allocations: 1.271 MB / 0.514 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005903/0.3284, allocations: 486.6 kB / 0.5144 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.3285, allocations: 0 / 0.5144 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.3286, allocations: 21.12 kB / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3288, allocations: 28.31 kB / 0.5145 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.329, allocations: 111.9 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3291, allocations: 58 kB / 0.5147 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.3292, allocations: 16.91 kB / 0.5147 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.3293, allocations: 15.38 kB / 0.5147 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.3293, allocations: 30.97 kB / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3293, allocations: 0 / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.3294, allocations: 42.8 kB / 0.5148 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.3295, allocations: 13.92 kB / 0.5148 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.3295, allocations: 50.75 kB / 0.5148 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.3297, allocations: 88 kB / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3297, allocations: 0 / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3297, allocations: 0 / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.3297, allocations: 2.906 kB / 0.5149 GB, free: 36.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003476/0.33, allocations: 379.4 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.3301, allocations: 8.562 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3301, allocations: 7.781 kB / 0.5153 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3302, allocations: 191.8 kB / 0.5155 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.3303, allocations: 3.25 kB / 0.5155 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3303, allocations: 384 / 0.5155 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3304, allocations: 72.47 kB / 0.5155 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3305, allocations: 0 / 0.5155 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3305, allocations: 3.062 kB / 0.5155 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.3305, allocations: 0 / 0.5155 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.3306, allocations: 28.64 kB / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.3309, allocations: 297.6 kB / 0.5159 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.331, allocations: 60.45 kB / 0.5159 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.331, allocations: 23.88 kB / 0.5159 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3311, allocations: 0 / 0.5159 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.3311, allocations: 33.5 kB / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3311, allocations: 0 / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005303/0.3316, allocations: 188.3 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.3317, allocations: 80.08 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.3318, allocations: 135.4 kB / 0.5163 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.3318, allocations: 25.7 kB / 0.5164 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.3318, allocations: 106.2 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3318, allocations: 22.34 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3319, allocations: 0 / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.3319, allocations: 324.9 kB / 0.5168 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.332, allocations: 30.44 kB / 0.5168 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.608e-05/0.3321, allocations: 55.19 kB / 0.5169 GB, free: 34.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3322, allocations: 72.44 kB / 0.517 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3322, allocations: 0 / 0.517 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001892/0.3324, allocations: 115.1 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3324, allocations: 5.125 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3325, allocations: 1.219 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3325, allocations: 3.938 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.3326, allocations: 26.52 kB / 0.5171 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3326, allocations: 8.266 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.3326, allocations: 9.375 kB / 0.5171 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3327, allocations: 6.031 kB / 0.5171 GB, free: 34.48 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 5.367e-05/0.3327, allocations: 118.1 kB / 0.5172 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3328, allocations: 3.062 kB / 0.5172 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.333, allocations: 125.9 kB / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.333, allocations: 4 kB / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.333, allocations: 1 kB / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.333, allocations: 0 / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.3334, allocations: 399.7 kB / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3334, allocations: 288 / 0.5177 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.3335, allocations: 21.11 kB / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3335, allocations: 0 / 0.5178 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3335, allocations: 9.844 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3335, allocations: 5.062 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3335, allocations: 0 / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3337, allocations: 205.7 kB / 0.518 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.3338, allocations: 85.12 kB / 0.5181 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3338, allocations: 5.031 kB / 0.5181 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.3339, allocations: 13.16 kB / 0.5181 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3339, allocations: 4.703 kB / 0.5181 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3339, allocations: 2.531 kB / 0.5181 GB, free: 33.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.693e-05/0.334, allocations: 110.3 kB / 0.5182 GB, free: 33.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.334, allocations: 0 / 0.5182 GB, free: 33.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.3342, allocations: 27.42 kB / 0.5182 GB, free: 33.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009654/0.3352, allocations: 0.5087 MB / 0.5187 GB, free: 33.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3354, allocations: 77.64 kB / 0.5188 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3354, allocations: 0 / 0.5188 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.3355, allocations: 41.47 kB / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3358, allocations: 16.25 kB / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.3362, allocations: 195 kB / 0.519 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3363, allocations: 0.6946 MB / 0.5197 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.52e-05/0.3364, allocations: 22.91 kB / 0.5197 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3364, allocations: 15.95 kB / 0.5197 GB, free: 32.37 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3364, allocations: 0 / 0.5197 GB, free: 32.37 MB / 378.7 MB Notification: Performance of Templates: time 0.003698/0.3401, allocations: 1.494 MB / 0.5212 GB, free: 32.18 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches