Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009147/0.0009148, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.259/1.259, allocations: 221.3 MB / 236 MB, free: 2.984 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.0008769/0.0008769, allocations: 87.69 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.18/0.18, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.768e-05, allocations: 224 / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.4517, allocations: 88.09 MB / 0.5877 GB, free: 1.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.4519, allocations: 75.84 kB / 0.5878 GB, free: 1.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.4622, allocations: 4.387 MB / 0.5921 GB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4622, allocations: 0 / 0.5921 GB, free: 12.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.4622, allocations: 4 kB / 0.5921 GB, free: 12.78 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003433/0.4626, allocations: 406.2 kB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4626, allocations: 8.031 kB / 0.5925 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.4627, allocations: 11.81 kB / 0.5925 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4629, allocations: 210.9 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4629, allocations: 3.953 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4629, allocations: 7.938 kB / 0.5927 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.4631, allocations: 45.69 kB / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4631, allocations: 8 kB / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4631, allocations: 3.984 kB / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.4631, allocations: 0 / 0.5928 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.4631, allocations: 19.94 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.4635, allocations: 316.7 kB / 0.5931 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.4636, allocations: 46.56 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.4637, allocations: 8.859 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4637, allocations: 7.938 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.4637, allocations: 34.56 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4637, allocations: 0 / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004846/0.4642, allocations: 169.1 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.4643, allocations: 59.41 kB / 0.5934 GB, free: 11.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.4645, allocations: 213.8 kB / 0.5936 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.4645, allocations: 25.7 kB / 0.5936 GB, free: 11.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.4645, allocations: 108.1 kB / 0.5937 GB, free: 10.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.4646, allocations: 27.56 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.4646, allocations: 0 / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.4647, allocations: 326.8 kB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.4647, allocations: 24.06 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.4647, allocations: 19.98 kB / 0.5941 GB, free: 10.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.4648, allocations: 32.22 kB / 0.5941 GB, free: 10.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4648, allocations: 0 / 0.5941 GB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.4649, allocations: 93.52 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.465, allocations: 9.094 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.465, allocations: 3.984 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.465, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.4651, allocations: 20 kB / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4651, allocations: 0 / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.4652, allocations: 19.89 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4652, allocations: 7.953 kB / 0.5943 GB, free: 10.31 MB / 410.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 (8): * Single equations (assignments): 8 * 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.094e-05/0.4652, allocations: 101 kB / 0.5944 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.4653, allocations: 11.91 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.4655, allocations: 119 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4655, allocations: 4 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4655, allocations: 0 / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4655, allocations: 0 / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.4659, allocations: 435.2 kB / 0.5949 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.466, allocations: 0 / 0.5949 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.466, allocations: 19.98 kB / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.466, allocations: 0 / 0.5949 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4661, allocations: 8 kB / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4661, allocations: 0 / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4661, allocations: 3.953 kB / 0.595 GB, free: 9.555 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.4663, allocations: 210 kB / 0.5952 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.4663, allocations: 100.9 kB / 0.5952 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.4663, allocations: 4 kB / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.4664, allocations: 7.953 kB / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.4665, allocations: 12.27 kB / 0.5953 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4665, allocations: 4 kB / 0.5953 GB, free: 9.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.4666, allocations: 180.3 kB / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4666, allocations: 0 / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.4669, allocations: 35.94 kB / 0.5955 GB, free: 8.969 MB / 410.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 (8): * Single equations (assignments): 8 * 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.0008208/0.4677, allocations: 422.7 kB / 0.5959 GB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.4678, allocations: 59.97 kB / 0.5959 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4678, allocations: 0 / 0.5959 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.4679, allocations: 35.92 kB / 0.596 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.4681, allocations: 8.188 kB / 0.596 GB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4684, allocations: 223.7 kB / 0.5962 GB, free: 8.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.4687, allocations: 0.7277 MB / 0.5969 GB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.4687, allocations: 20.66 kB / 0.5969 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.4688, allocations: 15.44 kB / 0.5969 GB, free: 7.527 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4688, allocations: 0 / 0.5969 GB, free: 7.527 MB / 410.7 MB Notification: Performance of Templates: time 0.003329/0.4721, allocations: 1.449 MB / 0.5984 GB, free: 6.082 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches