Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008223/0.0008222, allocations: 89.86 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3743/0.3743, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.807e-05, allocations: 0 / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.511, allocations: 88.33 MB / 0.5591 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5112, allocations: 76.84 kB / 0.5591 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02042/0.5317, allocations: 8.609 MB / 0.5675 GB, free: 9.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5317, allocations: 0 / 0.5675 GB, free: 9.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.998e-05/0.5318, allocations: 11.94 kB / 0.5676 GB, free: 9.914 MB / 394.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.0008353/0.5326, allocations: 0.6169 MB / 0.5682 GB, free: 9.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5327, allocations: 12.03 kB / 0.5682 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.5328, allocations: 51.34 kB / 0.5682 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.5336, allocations: 474 kB / 0.5687 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5336, allocations: 11.5 kB / 0.5687 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.5336, allocations: 9.875 kB / 0.5687 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.5339, allocations: 138 kB / 0.5688 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5339, allocations: 3.906 kB / 0.5688 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5339, allocations: 7.25 kB / 0.5688 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5339, allocations: 3.953 kB / 0.5688 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.534, allocations: 87.09 kB / 0.5689 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.535, allocations: 0.7295 MB / 0.5696 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.5352, allocations: 110.5 kB / 0.5697 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.5352, allocations: 35.72 kB / 0.5698 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.5352, allocations: 3.938 kB / 0.5698 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.5353, allocations: 41.86 kB / 0.5698 GB, free: 7.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.5353, allocations: 0 / 0.5698 GB, free: 7.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009679/0.5362, allocations: 470.9 kB / 0.5703 GB, free: 7.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.5363, allocations: 85 kB / 0.5703 GB, free: 7.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.5371, allocations: 0.7872 MB / 0.5711 GB, free: 6.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5372, allocations: 29.27 kB / 0.5711 GB, free: 6.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.5373, allocations: 255.1 kB / 0.5714 GB, free: 6.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.5373, allocations: 54.75 kB / 0.5714 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.5374, allocations: 0 / 0.5714 GB, free: 6.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.5374, allocations: 376.2 kB / 0.5718 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.5375, allocations: 42.48 kB / 0.5718 GB, free: 5.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.5376, allocations: 68.5 kB / 0.5719 GB, free: 5.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/0.5377, allocations: 57.95 kB / 0.572 GB, free: 5.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5377, allocations: 0 / 0.572 GB, free: 5.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002688/0.538, allocations: 196 kB / 0.5721 GB, free: 5.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.538, allocations: 12.2 kB / 0.5722 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.538, allocations: 0 / 0.5722 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.538, allocations: 7.938 kB / 0.5722 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.5382, allocations: 43.91 kB / 0.5722 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5382, allocations: 0 / 0.5722 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.5384, allocations: 27.31 kB / 0.5722 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.5384, allocations: 7.938 kB / 0.5722 GB, free: 5.559 MB / 394.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 () * 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 6.6e-05/0.5385, allocations: 110.1 kB / 0.5723 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.5386, allocations: 59.25 kB / 0.5724 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.539, allocations: 255.3 kB / 0.5726 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.539, allocations: 0 / 0.5726 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.539, allocations: 4 kB / 0.5726 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.539, allocations: 0 / 0.5726 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/0.5399, allocations: 0.8464 MB / 0.5735 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5399, allocations: 0 / 0.5735 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.5401, allocations: 47.28 kB / 0.5735 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5401, allocations: 0 / 0.5735 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5401, allocations: 8.328 kB / 0.5735 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5401, allocations: 0 / 0.5735 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5401, allocations: 12 kB / 0.5735 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.5404, allocations: 389.7 kB / 0.5739 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.5406, allocations: 183.3 kB / 0.5741 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.5407, allocations: 11.89 kB / 0.5741 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5409, allocations: 19.98 kB / 0.5741 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.5409, allocations: 11.98 kB / 0.5741 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.541, allocations: 7 kB / 0.5741 GB, free: 3.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005877/0.5416, allocations: 0.6245 MB / 0.5747 GB, free: 3.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5416, allocations: 0 / 0.5747 GB, free: 3.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.5419, allocations: 74.44 kB / 0.5748 GB, free: 3.215 MB / 394.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 () * 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.0007556/0.5427, allocations: 369.6 kB / 0.5752 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.5429, allocations: 134.3 kB / 0.5753 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5429, allocations: 0 / 0.5753 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.543, allocations: 69.66 kB / 0.5754 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.5434, allocations: 74.3 kB / 0.5754 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.5444, allocations: 0.7286 MB / 0.5761 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.5447, allocations: 0.8807 MB / 0.577 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.5449, allocations: 103.8 kB / 0.5771 GB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.545, allocations: 46.36 kB / 0.5771 GB, free: 1.016 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.545, allocations: 0 / 0.5771 GB, free: 1.016 MB / 394.7 MB Notification: Performance of Templates: time 0.008468/0.5535, allocations: 4.387 MB / 0.5814 GB, free: 12.64 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches