Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008936/0.0008937, allocations: 179 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.209/1.209, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0007682/0.0007683, allocations: 100.5 kB / 293.3 MB, free: 10.55 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.2753/0.2753, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 61.88 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09145/0.3592, allocations: 88.18 MB / 0.5968 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.3594, allocations: 75.95 kB / 0.5969 GB, free: 6.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.3696, allocations: 4.284 MB / 0.6011 GB, free: 2.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3696, allocations: 7.938 kB / 0.6011 GB, free: 2.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3696, allocations: 0 / 0.6011 GB, free: 2.531 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.0003501/0.37, allocations: 407 kB / 0.6015 GB, free: 2.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.37, allocations: 8.031 kB / 0.6015 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.37, allocations: 12.84 kB / 0.6015 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3702, allocations: 217.2 kB / 0.6017 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.3703, allocations: 8.25 kB / 0.6017 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.3703, allocations: 4.375 kB / 0.6017 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3704, allocations: 58.23 kB / 0.6018 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3704, allocations: 4.188 kB / 0.6018 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3704, allocations: 3.938 kB / 0.6018 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3705, allocations: 0 / 0.6018 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.3705, allocations: 31.97 kB / 0.6018 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.3709, allocations: 316.7 kB / 0.6021 GB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.371, allocations: 42.56 kB / 0.6022 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3711, allocations: 16.86 kB / 0.6022 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3711, allocations: 4.078 kB / 0.6022 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3711, allocations: 38.56 kB / 0.6022 GB, free: 1.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3711, allocations: 0 / 0.6022 GB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007772/0.3719, allocations: 257.2 kB / 0.6025 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.372, allocations: 51.41 kB / 0.6025 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3721, allocations: 203.9 kB / 0.6027 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3722, allocations: 33.7 kB / 0.6027 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.3722, allocations: 108 kB / 0.6028 GB, free: 0.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3722, allocations: 23.66 kB / 0.6029 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.3722, allocations: 0 / 0.6029 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.3724, allocations: 334.7 kB / 0.6032 GB, free: 188 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.3724, allocations: 31.97 kB / 0.6032 GB, free: 156 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.3725, allocations: 35.98 kB / 0.6033 GB, free: 120 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3727, allocations: 80.81 kB / 0.6033 GB, free: 36 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3727, allocations: 0 / 0.6033 GB, free: 36 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002294/0.3729, allocations: 125.5 kB / 0.6035 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3729, allocations: 8 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3729, allocations: 0 / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.373, allocations: 3.938 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.3731, allocations: 19.98 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3731, allocations: 0 / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.3731, allocations: 8 kB / 0.6035 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3731, allocations: 7.938 kB / 0.6035 GB, free: 15.86 MB / 426.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 (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 8.419e-05/0.3732, allocations: 130.3 kB / 0.6036 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3733, allocations: 11.91 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3735, allocations: 138.6 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3735, allocations: 4 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3735, allocations: 4 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3735, allocations: 4.422 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.374, allocations: 447.1 kB / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3741, allocations: 0 / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.3741, allocations: 16 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.3741, allocations: 7.984 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3742, allocations: 3.938 kB / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3742, allocations: 0 / 0.6042 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3742, allocations: 3.984 kB / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3744, allocations: 220.2 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.3745, allocations: 97 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3745, allocations: 3.938 kB / 0.6045 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.3746, allocations: 8 kB / 0.6045 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.3746, allocations: 11.98 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3746, allocations: 4 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.3747, allocations: 156 kB / 0.6047 GB, free: 14.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3747, allocations: 0 / 0.6047 GB, free: 14.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.375, allocations: 24 kB / 0.6047 GB, free: 14.48 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 (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.0008303/0.3758, allocations: 468.2 kB / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.376, allocations: 83.89 kB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.376, allocations: 0 / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.3761, allocations: 43.97 kB / 0.6053 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3764, allocations: 23.92 kB / 0.6053 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.3768, allocations: 290.3 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.3771, allocations: 0.7083 MB / 0.6063 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.3772, allocations: 20.95 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.3772, allocations: 19.42 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3772, allocations: 3.938 kB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Templates: time 0.003189/0.3804, allocations: 1.377 MB / 0.6077 GB, free: 11.58 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches