Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, 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.343/1.343, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001123/0.001123, allocations: 109.6 kB / 291.9 MB, free: 10.95 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.4362/0.4362, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3072, allocations: 60.81 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003107/0.3103, allocations: 1.698 MB / 0.508 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.3112, allocations: 451.3 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.3112, allocations: 0 / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.3115, allocations: 69.14 kB / 0.5085 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.3117, allocations: 59.14 kB / 0.5086 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.3121, allocations: 162.6 kB / 0.5088 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3122, allocations: 80.89 kB / 0.5088 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3124, allocations: 23.39 kB / 0.5089 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.3124, allocations: 32.34 kB / 0.5089 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.3125, allocations: 44.98 kB / 0.5089 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3125, allocations: 2.531 kB / 0.5089 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.3127, allocations: 50.84 kB / 0.509 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.3127, allocations: 34.14 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.3128, allocations: 31.92 kB / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3129, allocations: 109.7 kB / 0.5091 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3129, allocations: 3.938 kB / 0.5091 GB, free: 36.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.313, allocations: 2.906 kB / 0.5092 GB, free: 36.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.313, allocations: 0 / 0.5092 GB, free: 36.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004225/0.3134, allocations: 414.6 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3134, allocations: 8.688 kB / 0.5096 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.3135, allocations: 10.5 kB / 0.5096 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3136, allocations: 199.8 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3136, allocations: 11.28 kB / 0.5098 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.3137, allocations: 3.344 kB / 0.5098 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3138, allocations: 69.36 kB / 0.5098 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3139, allocations: 3.984 kB / 0.5098 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3139, allocations: 2.844 kB / 0.5098 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3139, allocations: 0 / 0.5098 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.314, allocations: 48.39 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.3144, allocations: 323.6 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3147, allocations: 59.39 kB / 0.5103 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.46e-05/0.3147, allocations: 29 kB / 0.5103 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3148, allocations: 4.094 kB / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.3148, allocations: 37.12 kB / 0.5103 GB, free: 35.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3148, allocations: 0 / 0.5103 GB, free: 35.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001356/0.3162, allocations: 419 kB / 0.5107 GB, free: 35.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3162, allocations: 55.34 kB / 0.5108 GB, free: 35.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3164, allocations: 211.7 kB / 0.511 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.3164, allocations: 28.67 kB / 0.511 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.3164, allocations: 109 kB / 0.5111 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3165, allocations: 37.8 kB / 0.5111 GB, free: 35.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3165, allocations: 22.28 kB / 0.5112 GB, free: 34.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.3166, allocations: 324.5 kB / 0.5115 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3167, allocations: 54.41 kB / 0.5115 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3168, allocations: 61.53 kB / 0.5116 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.317, allocations: 128 kB / 0.5117 GB, free: 34.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3171, allocations: 0 / 0.5117 GB, free: 34.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002798/0.3173, allocations: 162.7 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3174, allocations: 2.781 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3174, allocations: 2.812 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3174, allocations: 0 / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.3175, allocations: 31.28 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3175, allocations: 3.281 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.3176, allocations: 12.91 kB / 0.5119 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3176, allocations: 10.78 kB / 0.5119 GB, free: 34.5 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 (11): * Single equations (assignments): 11 * 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 8.626e-05/0.3177, allocations: 135.9 kB / 0.5121 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3177, allocations: 13.47 kB / 0.5121 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.3181, allocations: 180.5 kB / 0.5122 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3181, allocations: 3.938 kB / 0.5122 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3181, allocations: 2.656 kB / 0.5122 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3181, allocations: 0 / 0.5122 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.3187, allocations: 0.4937 MB / 0.5127 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3187, allocations: 2.812 kB / 0.5127 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.3188, allocations: 29.95 kB / 0.5128 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3188, allocations: 2.906 kB / 0.5128 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3189, allocations: 4.062 kB / 0.5128 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3189, allocations: 2.781 kB / 0.5128 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3189, allocations: 3.984 kB / 0.5128 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.3195, allocations: 0.9024 MB / 0.5137 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.3195, allocations: 87.89 kB / 0.5137 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3196, allocations: 2.375 kB / 0.5137 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.3197, allocations: 13.98 kB / 0.5138 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.3197, allocations: 12.48 kB / 0.5138 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3197, allocations: 6.656 kB / 0.5138 GB, free: 32.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.3198, allocations: 161.1 kB / 0.5139 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3198, allocations: 0 / 0.5139 GB, free: 32.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000337/0.3202, allocations: 27.41 kB / 0.5139 GB, free: 32.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008993/0.3211, allocations: 467 kB / 0.5144 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3214, allocations: 125.4 kB / 0.5145 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3214, allocations: 0 / 0.5145 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3215, allocations: 67.41 kB / 0.5146 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3219, allocations: 20.86 kB / 0.5146 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.3225, allocations: 498.3 kB / 0.5151 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.3226, allocations: 0.7288 MB / 0.5158 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.3227, allocations: 25.62 kB / 0.5158 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.3228, allocations: 20.8 kB / 0.5158 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3228, allocations: 0 / 0.5158 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.003601/0.3264, allocations: 1.541 MB / 0.5173 GB, free: 31.33 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches