Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, 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.316/1.316, allocations: 222.9 MB / 241.6 MB, free: 10.95 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.0009569/0.0009567, allocations: 112.4 kB / 291.9 MB, free: 10.91 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.3798/0.3798, allocations: 44.14 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 51.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3354, allocations: 60.81 MB / 0.5064 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002884/0.3383, allocations: 1.69 MB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.3391, allocations: 454.1 kB / 0.5085 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.3392, allocations: 0 / 0.5085 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.3395, allocations: 58.25 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3397, allocations: 55.45 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.34, allocations: 157.7 kB / 0.5087 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3402, allocations: 75.33 kB / 0.5088 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.3403, allocations: 21.41 kB / 0.5088 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.3403, allocations: 29.03 kB / 0.5089 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.3404, allocations: 46.86 kB / 0.5089 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3405, allocations: 2.688 kB / 0.5089 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.3406, allocations: 51.55 kB / 0.509 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.3406, allocations: 18.95 kB / 0.509 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.3407, allocations: 32.62 kB / 0.509 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3408, allocations: 104.4 kB / 0.5091 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3408, allocations: 0 / 0.5091 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3409, allocations: 3.938 kB / 0.5091 GB, free: 36.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.3409, allocations: 0 / 0.5091 GB, free: 36.52 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.0004777/0.3413, allocations: 412.4 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3414, allocations: 9 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3414, allocations: 11.62 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3416, allocations: 198.8 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3416, allocations: 4.281 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3416, allocations: 10.88 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3418, allocations: 65.55 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3418, allocations: 7.422 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3419, allocations: 2.875 kB / 0.5098 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3419, allocations: 4 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.342, allocations: 43.81 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.3424, allocations: 317.6 kB / 0.5101 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.3426, allocations: 61.45 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.3428, allocations: 27.08 kB / 0.5102 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3428, allocations: 0 / 0.5102 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3428, allocations: 37.22 kB / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.3428, allocations: 0 / 0.5103 GB, free: 35.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001305/0.3441, allocations: 431.2 kB / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.3442, allocations: 54 kB / 0.5107 GB, free: 35.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3443, allocations: 174.4 kB / 0.5109 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3443, allocations: 28.55 kB / 0.5109 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.3444, allocations: 98.44 kB / 0.511 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3444, allocations: 36.66 kB / 0.511 GB, free: 34.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.3445, allocations: 30.34 kB / 0.5111 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.3445, allocations: 321.2 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3447, allocations: 51.19 kB / 0.5114 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3448, allocations: 62.14 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.345, allocations: 126.6 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.345, allocations: 0 / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002831/0.3453, allocations: 158.8 kB / 0.5118 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3453, allocations: 6 kB / 0.5118 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3454, allocations: 7.875 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3454, allocations: 3.281 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.3455, allocations: 23.48 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3455, allocations: 6.844 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.3455, allocations: 13.14 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3456, allocations: 3.031 kB / 0.5118 GB, free: 34.45 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 6.714e-05/0.3456, allocations: 132.7 kB / 0.512 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.3457, allocations: 10.5 kB / 0.512 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.346, allocations: 187.3 kB / 0.5121 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.346, allocations: 2.406 kB / 0.5121 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.346, allocations: 0 / 0.5121 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3461, allocations: 3.234 kB / 0.5121 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.3466, allocations: 0.4991 MB / 0.5126 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3466, allocations: 2.781 kB / 0.5126 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3467, allocations: 26.78 kB / 0.5127 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3468, allocations: 3.938 kB / 0.5127 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3468, allocations: 6.875 kB / 0.5127 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3468, allocations: 3.938 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.3468, allocations: 6.938 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.3473, allocations: 0.8887 MB / 0.5135 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.3474, allocations: 83.95 kB / 0.5136 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3474, allocations: 4 kB / 0.5136 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.3475, allocations: 20.44 kB / 0.5137 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.3475, allocations: 10.56 kB / 0.5137 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3476, allocations: 2.906 kB / 0.5137 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.072e-05/0.3476, allocations: 141.8 kB / 0.5138 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 0 / 0.5138 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.348, allocations: 22.94 kB / 0.5138 GB, free: 32.82 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.0008669/0.3489, allocations: 463.3 kB / 0.5143 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.3492, allocations: 123 kB / 0.5144 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3492, allocations: 4 kB / 0.5144 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3493, allocations: 68.06 kB / 0.5144 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3497, allocations: 23.52 kB / 0.5145 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.3503, allocations: 472.9 kB / 0.5149 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.3505, allocations: 0.721 MB / 0.5156 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.792e-05/0.3506, allocations: 35.36 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.3507, allocations: 14 kB / 0.5157 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3507, allocations: 5.062 kB / 0.5157 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.003706/0.3544, allocations: 1.54 MB / 0.5172 GB, free: 31.28 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches