Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 186.9 kB / 17.97 MB, free: 3.793 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.369/1.369, 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.001095/0.001096, allocations: 106 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.4038/0.4038, allocations: 44.13 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 55.91 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3555, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002487/0.3581, allocations: 1.636 MB / 0.508 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.3587, allocations: 400.8 kB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.3588, allocations: 0 / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.3591, allocations: 133.9 kB / 0.5085 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3593, allocations: 76.59 kB / 0.5086 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3595, allocations: 77.19 kB / 0.5086 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.3596, allocations: 86.91 kB / 0.5087 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3597, allocations: 18.19 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.3598, allocations: 45.8 kB / 0.5088 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.36, allocations: 79.33 kB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.36, allocations: 0 / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.3601, allocations: 42.28 kB / 0.5089 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3601, allocations: 38 kB / 0.5089 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.3602, allocations: 33.59 kB / 0.509 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3604, allocations: 104.7 kB / 0.5091 GB, free: 36.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3604, allocations: 4 kB / 0.5091 GB, free: 36.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3604, allocations: 0 / 0.5091 GB, free: 36.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3604, allocations: 0 / 0.5091 GB, free: 36.64 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.0005335/0.3609, allocations: 430.3 kB / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.361, allocations: 11.41 kB / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3611, allocations: 16.19 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3612, allocations: 208.6 kB / 0.5097 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3612, allocations: 384 / 0.5097 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3613, allocations: 3.125 kB / 0.5097 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3614, allocations: 60.8 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3614, allocations: 0 / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3615, allocations: 0 / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3615, allocations: 2.562 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.617e-05/0.3616, allocations: 27.95 kB / 0.5098 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3619, allocations: 303.3 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.362, allocations: 49.19 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.3621, allocations: 13.67 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3621, allocations: 6.469 kB / 0.5102 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3621, allocations: 30.56 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3622, allocations: 4 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008322/0.363, allocations: 223.3 kB / 0.5104 GB, free: 35.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.363, allocations: 58.44 kB / 0.5105 GB, free: 35.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3632, allocations: 277.4 kB / 0.5107 GB, free: 35.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.3632, allocations: 29.7 kB / 0.5108 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.3633, allocations: 111.3 kB / 0.5109 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3633, allocations: 25.31 kB / 0.5109 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.3633, allocations: 27.38 kB / 0.5109 GB, free: 35.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.3634, allocations: 327.2 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.3635, allocations: 21.62 kB / 0.5112 GB, free: 34.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.3635, allocations: 28.44 kB / 0.5113 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3637, allocations: 68.84 kB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3637, allocations: 0 / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001737/0.3639, allocations: 102.2 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3639, allocations: 7.656 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3639, allocations: 0 / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3639, allocations: 2.969 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.364, allocations: 19.09 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.364, allocations: 7.938 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.3641, allocations: 9.031 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3641, allocations: 0 / 0.5115 GB, free: 34.63 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 7.616e-05/0.3642, allocations: 138.9 kB / 0.5116 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.3642, allocations: 13.72 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3645, allocations: 121.6 kB / 0.5117 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3645, allocations: 4 kB / 0.5117 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3645, allocations: 6.562 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3645, allocations: 0 / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.3649, allocations: 401.9 kB / 0.5121 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3649, allocations: 3.062 kB / 0.5121 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.365, allocations: 18.84 kB / 0.5122 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.365, allocations: 4.031 kB / 0.5122 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.365, allocations: 10.81 kB / 0.5122 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.365, allocations: 3.266 kB / 0.5122 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.365, allocations: 6.797 kB / 0.5122 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3654, allocations: 0.7941 MB / 0.513 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.3654, allocations: 87.8 kB / 0.513 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3655, allocations: 4 kB / 0.513 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.3655, allocations: 6.141 kB / 0.513 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3656, allocations: 8.953 kB / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3656, allocations: 0 / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3657, allocations: 203.7 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.3657, allocations: 0 / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.3661, allocations: 29.86 kB / 0.5133 GB, free: 33.08 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.0009139/0.367, allocations: 454.9 kB / 0.5137 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3672, allocations: 69.19 kB / 0.5138 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3672, allocations: 0 / 0.5138 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.3673, allocations: 31.11 kB / 0.5138 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3676, allocations: 19.97 kB / 0.5138 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.3682, allocations: 460.3 kB / 0.5143 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.3683, allocations: 0.724 MB / 0.515 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.3684, allocations: 14.78 kB / 0.515 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.3684, allocations: 13.16 kB / 0.515 GB, free: 31.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3684, allocations: 0 / 0.515 GB, free: 31.76 MB / 378.7 MB Notification: Performance of Templates: time 0.003382/0.3718, allocations: 1.319 MB / 0.5163 GB, free: 31.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches