Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008593/0.0008594, allocations: 179.3 kB / 18.09 MB, free: 3.754 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.188/1.188, allocations: 223.3 MB / 242.1 MB, free: 9.965 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.0007077/0.0007077, allocations: 99.77 kB / 293.3 MB, free: 10.56 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.2978/0.2978, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003296, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2871, allocations: 61.88 MB / 0.5107 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.395, allocations: 89.59 MB / 0.5982 GB, free: 5.484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.3952, allocations: 83.94 kB / 0.5983 GB, free: 5.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02142/0.4167, allocations: 8.893 MB / 0.607 GB, free: 12.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4167, allocations: 0 / 0.607 GB, free: 12.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.4168, allocations: 8 kB / 0.607 GB, free: 12.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001119/0.4179, allocations: 0.744 MB / 0.6077 GB, free: 11.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.418, allocations: 12.03 kB / 0.6077 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.4181, allocations: 52.28 kB / 0.6078 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.4189, allocations: 491.7 kB / 0.6082 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4189, allocations: 8.375 kB / 0.6083 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.4189, allocations: 12.38 kB / 0.6083 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.4192, allocations: 134.2 kB / 0.6084 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4193, allocations: 192 / 0.6084 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.4193, allocations: 11.94 kB / 0.6084 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4193, allocations: 3.984 kB / 0.6084 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.4196, allocations: 91.89 kB / 0.6085 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.4206, allocations: 0.7073 MB / 0.6092 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.4208, allocations: 117.2 kB / 0.6093 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.4209, allocations: 45.83 kB / 0.6093 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.4209, allocations: 0 / 0.6093 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4209, allocations: 38.56 kB / 0.6094 GB, free: 9.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.4209, allocations: 0 / 0.6094 GB, free: 9.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001271/0.4222, allocations: 0.5455 MB / 0.6099 GB, free: 9.293 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.4223, allocations: 77.11 kB / 0.61 GB, free: 9.199 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.4233, allocations: 0.8621 MB / 0.6108 GB, free: 8.328 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4233, allocations: 29.7 kB / 0.6109 GB, free: 8.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4235, allocations: 248.2 kB / 0.6111 GB, free: 8.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.4236, allocations: 59.19 kB / 0.6111 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.4236, allocations: 0 / 0.6111 GB, free: 7.984 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4237, allocations: 370.8 kB / 0.6115 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.4239, allocations: 59.97 kB / 0.6116 GB, free: 7.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.424, allocations: 81.67 kB / 0.6116 GB, free: 7.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.4243, allocations: 153.6 kB / 0.6118 GB, free: 7.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4243, allocations: 0 / 0.6118 GB, free: 7.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004268/0.4248, allocations: 241.1 kB / 0.612 GB, free: 7.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4248, allocations: 8 kB / 0.612 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4248, allocations: 80 / 0.612 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4248, allocations: 4.188 kB / 0.612 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.425, allocations: 43.97 kB / 0.6121 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.425, allocations: 7.922 kB / 0.6121 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.4252, allocations: 23.92 kB / 0.6121 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.4252, allocations: 4 kB / 0.6121 GB, free: 6.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.4254, allocations: 205.8 kB / 0.6123 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4255, allocations: 59.28 kB / 0.6124 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.426, allocations: 281.9 kB / 0.6126 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4261, allocations: 7.984 kB / 0.6126 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4261, allocations: 0 / 0.6126 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4261, allocations: 0 / 0.6126 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.4272, allocations: 0.8567 MB / 0.6135 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4272, allocations: 0 / 0.6135 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.4274, allocations: 44.02 kB / 0.6135 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4274, allocations: 7.938 kB / 0.6135 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4274, allocations: 7.984 kB / 0.6135 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4274, allocations: 0 / 0.6135 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4274, allocations: 4 kB / 0.6135 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.4279, allocations: 424.1 kB / 0.6139 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.4281, allocations: 180.4 kB / 0.6141 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.4282, allocations: 4 kB / 0.6141 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4284, allocations: 15.98 kB / 0.6141 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.4284, allocations: 19.97 kB / 0.6141 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4285, allocations: 7.938 kB / 0.6141 GB, free: 4.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006952/0.4292, allocations: 0.6237 MB / 0.6148 GB, free: 4.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4292, allocations: 0 / 0.6148 GB, free: 4.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000369/0.4295, allocations: 72 kB / 0.6148 GB, free: 4.078 MB / 426.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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008698/0.4304, allocations: 419.4 kB / 0.6152 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.4308, allocations: 163.8 kB / 0.6154 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4308, allocations: 0 / 0.6154 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.431, allocations: 87.89 kB / 0.6155 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.4316, allocations: 67.36 kB / 0.6155 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.4329, allocations: 0.9768 MB / 0.6165 GB, free: 2.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.4332, allocations: 0.8461 MB / 0.6173 GB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.4334, allocations: 94.84 kB / 0.6174 GB, free: 1.539 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4336, allocations: 47.41 kB / 0.6174 GB, free: 1.492 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4336, allocations: 0 / 0.6174 GB, free: 1.492 MB / 426.7 MB Notification: Performance of Templates: time 0.008137/0.4417, allocations: 4.333 MB / 0.6217 GB, free: 13.18 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches