Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008935, allocations: 99.72 kB / 281.6 MB, free: 5.32 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.1924/0.1924, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.876e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5453, allocations: 87.49 MB / 0.5801 GB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5456, allocations: 75.95 kB / 0.5802 GB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.5561, allocations: 4.148 MB / 0.5842 GB, free: 4.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5562, allocations: 0 / 0.5842 GB, free: 4.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.5562, allocations: 4 kB / 0.5842 GB, free: 4.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000333/0.5565, allocations: 364 kB / 0.5846 GB, free: 4.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5566, allocations: 11.98 kB / 0.5846 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.5566, allocations: 7.906 kB / 0.5846 GB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.5568, allocations: 193 kB / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.5568, allocations: 0 / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.5569, allocations: 7.984 kB / 0.5848 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.663e-05/0.5569, allocations: 11.95 kB / 0.5848 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.557, allocations: 59.41 kB / 0.5849 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.557, allocations: 0 / 0.5849 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.5571, allocations: 0 / 0.5849 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5571, allocations: 0 / 0.5849 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.5574, allocations: 253.4 kB / 0.5851 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.5575, allocations: 42.47 kB / 0.5851 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.5576, allocations: 12.86 kB / 0.5852 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5576, allocations: 96 / 0.5852 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5576, allocations: 38.55 kB / 0.5852 GB, free: 3.703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.5576, allocations: 0 / 0.5852 GB, free: 3.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003437/0.558, allocations: 101.3 kB / 0.5853 GB, free: 3.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.558, allocations: 77.11 kB / 0.5854 GB, free: 3.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5581, allocations: 121 kB / 0.5855 GB, free: 3.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.5582, allocations: 25.7 kB / 0.5855 GB, free: 3.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.5582, allocations: 84.14 kB / 0.5856 GB, free: 3.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5582, allocations: 23.73 kB / 0.5856 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5583, allocations: 0 / 0.5856 GB, free: 3.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.5584, allocations: 310.8 kB / 0.5859 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.5584, allocations: 12 kB / 0.5859 GB, free: 2.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.5584, allocations: 25.7 kB / 0.5859 GB, free: 2.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.5584, allocations: 12 kB / 0.586 GB, free: 2.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5585, allocations: 0 / 0.586 GB, free: 2.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.086e-05/0.5586, allocations: 65.48 kB / 0.586 GB, free: 2.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5586, allocations: 8 kB / 0.586 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5586, allocations: 0 / 0.586 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5586, allocations: 0 / 0.586 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.5587, allocations: 12 kB / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5587, allocations: 8.016 kB / 0.586 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.5587, allocations: 4 kB / 0.586 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.5588, allocations: 7.938 kB / 0.5861 GB, free: 2.762 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.573e-05/0.5588, allocations: 101 kB / 0.5862 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.5589, allocations: 11.86 kB / 0.5862 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.559, allocations: 74 kB / 0.5862 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.559, allocations: 4 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.559, allocations: 4 kB / 0.5862 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.559, allocations: 0 / 0.5862 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.5593, allocations: 299.1 kB / 0.5865 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5593, allocations: 384 / 0.5865 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.5594, allocations: 12 kB / 0.5865 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5594, allocations: 0 / 0.5865 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5594, allocations: 19.92 kB / 0.5866 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5594, allocations: 0 / 0.5866 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5594, allocations: 3.938 kB / 0.5866 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.5596, allocations: 155.5 kB / 0.5867 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.5596, allocations: 84.97 kB / 0.5868 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5596, allocations: 4 kB / 0.5868 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.5597, allocations: 7.984 kB / 0.5868 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.5597, allocations: 4 kB / 0.5868 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.5598, allocations: 4 kB / 0.5868 GB, free: 1.895 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.5598, allocations: 105.5 kB / 0.5869 GB, free: 1.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5598, allocations: 0 / 0.5869 GB, free: 1.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.5601, allocations: 24 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000777/0.5609, allocations: 389 kB / 0.5873 GB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.561, allocations: 20 kB / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.561, allocations: 0 / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.561, allocations: 19.98 kB / 0.5873 GB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5612, allocations: 8 kB / 0.5873 GB, free: 1.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.5614, allocations: 95.98 kB / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.5617, allocations: 0.6962 MB / 0.5881 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.5618, allocations: 16.14 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.5618, allocations: 15.44 kB / 0.5882 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5618, allocations: 0 / 0.5882 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of Templates: time 0.003239/0.5651, allocations: 1.234 MB / 0.5894 GB, free: 15.3 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches