Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, 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.34/1.34, allocations: 222.9 MB / 241.6 MB, free: 11 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.0009958/0.0009955, allocations: 105 kB / 291.9 MB, free: 10.97 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.3636/0.3636, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.84 kB / 457.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.367, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.00271/0.3698, allocations: 1.676 MB / 0.508 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.3705, allocations: 418.1 kB / 0.5084 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.3705, allocations: 0 / 0.5084 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3708, allocations: 99.42 kB / 0.5085 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3709, allocations: 58.02 kB / 0.5086 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3711, allocations: 84.53 kB / 0.5087 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3713, allocations: 84.03 kB / 0.5087 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.3714, allocations: 22.27 kB / 0.5088 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.3714, allocations: 34.09 kB / 0.5088 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.3715, allocations: 60.98 kB / 0.5088 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3715, allocations: 2.906 kB / 0.5088 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.3716, allocations: 46.03 kB / 0.5089 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.3717, allocations: 24.89 kB / 0.5089 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.3717, allocations: 39.81 kB / 0.509 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.3719, allocations: 121.6 kB / 0.5091 GB, free: 36.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3719, allocations: 0 / 0.5091 GB, free: 36.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3719, allocations: 4 kB / 0.5091 GB, free: 36.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.3719, allocations: 0 / 0.5091 GB, free: 36.55 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003566/0.3722, allocations: 424.9 kB / 0.5095 GB, free: 36.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3723, allocations: 8.531 kB / 0.5095 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3723, allocations: 10.84 kB / 0.5095 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3725, allocations: 212.6 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3725, allocations: 7.156 kB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3725, allocations: 10.22 kB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.3727, allocations: 73.59 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3727, allocations: 10.11 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3727, allocations: 0 / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3727, allocations: 0 / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3728, allocations: 37.16 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3731, allocations: 330.6 kB / 0.5101 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3733, allocations: 63.27 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.3733, allocations: 23.67 kB / 0.5102 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3733, allocations: 4.141 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.3734, allocations: 33.47 kB / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3734, allocations: 0 / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000879/0.3743, allocations: 308.5 kB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3743, allocations: 55.12 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3745, allocations: 234.3 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.3745, allocations: 25.7 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.3745, allocations: 113 kB / 0.511 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.3745, allocations: 55.91 kB / 0.511 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3746, allocations: 25.34 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.3746, allocations: 328.1 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.3747, allocations: 33.81 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.3748, allocations: 34.91 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.375, allocations: 92.62 kB / 0.5115 GB, free: 34.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.375, allocations: 4 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002045/0.3752, allocations: 133.2 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3752, allocations: 5.5 kB / 0.5116 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3752, allocations: 4 kB / 0.5117 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3752, allocations: 3.938 kB / 0.5117 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3753, allocations: 29.91 kB / 0.5117 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3753, allocations: 0 / 0.5117 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.3754, allocations: 6.938 kB / 0.5117 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3754, allocations: 6.719 kB / 0.5117 GB, free: 34.44 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 (13): * Single equations (assignments): 13 * 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.001e-05/0.3755, allocations: 135.6 kB / 0.5118 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.3755, allocations: 17.56 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3758, allocations: 154.9 kB / 0.512 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3758, allocations: 6.844 kB / 0.512 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3758, allocations: 0 / 0.512 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3758, allocations: 7.281 kB / 0.512 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.3763, allocations: 474.1 kB / 0.5125 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3763, allocations: 2.969 kB / 0.5125 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.3764, allocations: 25.7 kB / 0.5125 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3764, allocations: 2.625 kB / 0.5125 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3764, allocations: 4.031 kB / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3764, allocations: 2.594 kB / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3764, allocations: 0 / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.3768, allocations: 0.8449 MB / 0.5133 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.3768, allocations: 93.42 kB / 0.5134 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3769, allocations: 4 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.3769, allocations: 4.938 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.377, allocations: 14.17 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.377, allocations: 5.781 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.3771, allocations: 173.4 kB / 0.5136 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3771, allocations: 0 / 0.5136 GB, free: 32.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.3775, allocations: 31.25 kB / 0.5136 GB, free: 32.84 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 (13): * Single equations (assignments): 13 * 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.0008915/0.3784, allocations: 459.3 kB / 0.5141 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.3786, allocations: 105.6 kB / 0.5142 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3786, allocations: 0 / 0.5142 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-05/0.3787, allocations: 51.11 kB / 0.5142 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.379, allocations: 20.39 kB / 0.5142 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.3795, allocations: 488.3 kB / 0.5147 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3796, allocations: 0.7182 MB / 0.5154 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.779e-05/0.3797, allocations: 25.02 kB / 0.5154 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.3797, allocations: 14.28 kB / 0.5154 GB, free: 31.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3798, allocations: 0 / 0.5154 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Templates: time 0.003489/0.3832, allocations: 1.48 MB / 0.5169 GB, free: 31.3 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches