Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001818, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 102.1 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3222/0.3222, allocations: 44.14 MB / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3228, allocations: 60.8 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002725/0.3255, allocations: 1.622 MB / 0.508 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.3263, allocations: 429.3 kB / 0.5084 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3264, allocations: 1.344 kB / 0.5084 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.3266, allocations: 18.7 kB / 0.5084 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3267, allocations: 39.22 kB / 0.5084 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.327, allocations: 102.8 kB / 0.5085 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.3271, allocations: 55.48 kB / 0.5086 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.3272, allocations: 18.77 kB / 0.5086 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.3272, allocations: 16.59 kB / 0.5086 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.3273, allocations: 35.34 kB / 0.5087 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3273, allocations: 2.938 kB / 0.5087 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.3274, allocations: 42.59 kB / 0.5087 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.3275, allocations: 18.23 kB / 0.5087 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.3275, allocations: 17.84 kB / 0.5087 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3276, allocations: 96.67 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3276, allocations: 4 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3277, allocations: 0 / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3277, allocations: 0 / 0.5088 GB, free: 36.78 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.0003517/0.328, allocations: 386.2 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3281, allocations: 11.25 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3281, allocations: 7.5 kB / 0.5092 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3283, allocations: 183.7 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.3283, allocations: 4.375 kB / 0.5094 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3283, allocations: 3.344 kB / 0.5094 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3284, allocations: 67.5 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3285, allocations: 3.984 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3285, allocations: 4 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3285, allocations: 0 / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3286, allocations: 28.38 kB / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.3289, allocations: 290.3 kB / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.329, allocations: 50.05 kB / 0.5098 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.3291, allocations: 23.28 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3291, allocations: 0 / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3291, allocations: 41.34 kB / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3292, allocations: 0 / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005049/0.3297, allocations: 177.8 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3297, allocations: 77.11 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.3298, allocations: 139.7 kB / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.3298, allocations: 29.7 kB / 0.5103 GB, free: 35.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.3299, allocations: 90.52 kB / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3299, allocations: 22.34 kB / 0.5104 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3299, allocations: 26.67 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.33, allocations: 325.1 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.3301, allocations: 28.38 kB / 0.5108 GB, free: 34.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.3301, allocations: 51.48 kB / 0.5108 GB, free: 34.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3303, allocations: 70.3 kB / 0.5109 GB, free: 34.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3303, allocations: 7.969 kB / 0.5109 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001779/0.3305, allocations: 112.9 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3305, allocations: 7.656 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3305, allocations: 0 / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3305, allocations: 0 / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.3306, allocations: 16.42 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3306, allocations: 3.938 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.3307, allocations: 5.859 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3307, allocations: 10.53 kB / 0.511 GB, free: 34.81 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.262e-05/0.3307, allocations: 115.5 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.3308, allocations: 6.719 kB / 0.5111 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.331, allocations: 116.9 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.331, allocations: 0 / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.331, allocations: 2.781 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.331, allocations: 0 / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.3314, allocations: 392.2 kB / 0.5116 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3314, allocations: 0 / 0.5116 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.3314, allocations: 18.92 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3315, allocations: 0 / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3315, allocations: 6.719 kB / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3315, allocations: 0 / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3315, allocations: 0 / 0.5117 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3318, allocations: 0.7792 MB / 0.5124 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.3319, allocations: 84.44 kB / 0.5125 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3319, allocations: 2.906 kB / 0.5125 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.332, allocations: 6.781 kB / 0.5125 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.332, allocations: 10.12 kB / 0.5125 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.332, allocations: 0 / 0.5125 GB, free: 33.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.3321, allocations: 113.5 kB / 0.5126 GB, free: 33.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3321, allocations: 0 / 0.5126 GB, free: 33.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.3324, allocations: 24.06 kB / 0.5127 GB, free: 33.33 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.0008127/0.3332, allocations: 460 kB / 0.5131 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3334, allocations: 66.06 kB / 0.5132 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3334, allocations: 0 / 0.5132 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.3335, allocations: 37.64 kB / 0.5132 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3338, allocations: 21.05 kB / 0.5132 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.3342, allocations: 321.5 kB / 0.5135 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.9e-05/0.3343, allocations: 0.6995 MB / 0.5142 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.737e-05/0.3344, allocations: 26.98 kB / 0.5142 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.3344, allocations: 17.31 kB / 0.5142 GB, free: 32.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3344, allocations: 0 / 0.5142 GB, free: 32.07 MB / 378.7 MB Notification: Performance of Templates: time 0.003241/0.3377, allocations: 1.515 MB / 0.5157 GB, free: 31.89 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@2/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