Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, 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.473/1.473, allocations: 222.9 MB / 241.6 MB, free: 11.01 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.001472/0.001472, allocations: 99.72 kB / 291.9 MB, free: 10.94 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.3558/0.3558, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4259, allocations: 60.8 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003988/0.4299, allocations: 1.624 MB / 0.508 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.431, allocations: 420.8 kB / 0.5084 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.4311, allocations: 0 / 0.5084 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.4313, allocations: 27.53 kB / 0.5084 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.4315, allocations: 27.27 kB / 0.5084 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.4318, allocations: 76.75 kB / 0.5085 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.4319, allocations: 68.94 kB / 0.5086 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4321, allocations: 5.562 kB / 0.5086 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.4321, allocations: 23.86 kB / 0.5086 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.4322, allocations: 27.34 kB / 0.5086 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4322, allocations: 6.953 kB / 0.5086 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4324, allocations: 47.41 kB / 0.5087 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.4324, allocations: 14.03 kB / 0.5087 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.4325, allocations: 21.61 kB / 0.5087 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.4327, allocations: 96.73 kB / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4327, allocations: 3.938 kB / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4327, allocations: 0 / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.4327, allocations: 0 / 0.5088 GB, free: 36.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000493/0.4332, allocations: 395.4 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4333, allocations: 11.53 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.4333, allocations: 7.656 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.4335, allocations: 192.2 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4335, allocations: 384 / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4336, allocations: 7.219 kB / 0.5094 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4337, allocations: 71.48 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4338, allocations: 0 / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4338, allocations: 3.984 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4338, allocations: 6.969 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.4339, allocations: 29.17 kB / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.4343, allocations: 294.8 kB / 0.5098 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4345, allocations: 58.77 kB / 0.5098 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.4345, allocations: 24.36 kB / 0.5099 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4346, allocations: 1.438 kB / 0.5099 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4346, allocations: 31.94 kB / 0.5099 GB, free: 35.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4346, allocations: 4 kB / 0.5099 GB, free: 35.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.4352, allocations: 184.4 kB / 0.5101 GB, free: 35.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.4353, allocations: 84.52 kB / 0.5101 GB, free: 35.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4354, allocations: 138.2 kB / 0.5103 GB, free: 35.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.4354, allocations: 33.64 kB / 0.5103 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.4355, allocations: 94.31 kB / 0.5104 GB, free: 35.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.4355, allocations: 28.94 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.4355, allocations: 22.81 kB / 0.5104 GB, free: 35.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.4356, allocations: 324.6 kB / 0.5108 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.4357, allocations: 31.58 kB / 0.5108 GB, free: 34.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.4357, allocations: 46.52 kB / 0.5108 GB, free: 34.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.4359, allocations: 76.23 kB / 0.5109 GB, free: 34.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4359, allocations: 384 / 0.5109 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000185/0.4361, allocations: 108.2 kB / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4361, allocations: 5.781 kB / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4361, allocations: 3.422 kB / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4361, allocations: 0 / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.4362, allocations: 28.44 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4363, allocations: 0 / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.4363, allocations: 6.781 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4363, allocations: 6.859 kB / 0.5111 GB, free: 34.79 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 (9): * Single equations (assignments): 9 * 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.076e-05/0.4364, allocations: 119.9 kB / 0.5112 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.4364, allocations: 6.781 kB / 0.5112 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.4366, allocations: 123.2 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4367, allocations: 288 / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4367, allocations: 0 / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4367, allocations: 0 / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.4371, allocations: 404.4 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4371, allocations: 0 / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.4372, allocations: 14.81 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4372, allocations: 2.844 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4372, allocations: 3.938 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4372, allocations: 0 / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4372, allocations: 4 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.4377, allocations: 0.7793 MB / 0.5125 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.4377, allocations: 87.3 kB / 0.5125 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.4378, allocations: 3 kB / 0.5126 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.4378, allocations: 10.97 kB / 0.5126 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.4379, allocations: 6.328 kB / 0.5126 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4379, allocations: 4 kB / 0.5126 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.438, allocations: 107.9 kB / 0.5127 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.438, allocations: 0 / 0.5127 GB, free: 33.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000354/0.4383, allocations: 31.67 kB / 0.5127 GB, free: 33.3 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 (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.001069/0.4394, allocations: 447.6 kB / 0.5131 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.4397, allocations: 72.19 kB / 0.5132 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4397, allocations: 0 / 0.5132 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.4398, allocations: 41.38 kB / 0.5132 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4401, allocations: 21.69 kB / 0.5133 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.4406, allocations: 340.2 kB / 0.5136 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4407, allocations: 0.6998 MB / 0.5143 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.847e-05/0.4408, allocations: 19.53 kB / 0.5143 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.4409, allocations: 16.59 kB / 0.5143 GB, free: 32.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4409, allocations: 192 / 0.5143 GB, free: 32.04 MB / 378.7 MB Notification: Performance of Templates: time 0.003784/0.4447, allocations: 1.543 MB / 0.5158 GB, free: 31.85 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches