Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 179 kB / 18.09 MB, free: 3.75 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.184/1.184, allocations: 223.3 MB / 242.1 MB, free: 9.957 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.0008281/0.0008281, allocations: 96.23 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.2793/0.2793, allocations: 44.15 MB / 388.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 16 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2598, allocations: 61.87 MB / 0.5107 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09527/0.3551, allocations: 88.18 MB / 0.5968 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.3554, allocations: 75.94 kB / 0.5969 GB, free: 6.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.3658, allocations: 4.288 MB / 0.6011 GB, free: 2.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3658, allocations: 3.938 kB / 0.6011 GB, free: 2.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3658, allocations: 4 kB / 0.6011 GB, free: 2.551 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.0003679/0.3662, allocations: 411 kB / 0.6015 GB, free: 2.098 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3662, allocations: 8.031 kB / 0.6015 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3663, allocations: 12.84 kB / 0.6015 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3665, allocations: 209.2 kB / 0.6017 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3665, allocations: 8.312 kB / 0.6017 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3665, allocations: 4.375 kB / 0.6017 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3667, allocations: 66.16 kB / 0.6018 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3667, allocations: 192 / 0.6018 GB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3667, allocations: 3.938 kB / 0.6018 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.3667, allocations: 0 / 0.6018 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.3668, allocations: 35.97 kB / 0.6018 GB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3672, allocations: 304.7 kB / 0.6021 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.3673, allocations: 50.48 kB / 0.6022 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.3673, allocations: 24.86 kB / 0.6022 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3674, allocations: 0 / 0.6022 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3674, allocations: 30.56 kB / 0.6022 GB, free: 1.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3674, allocations: 0 / 0.6022 GB, free: 1.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007836/0.3682, allocations: 265.7 kB / 0.6025 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.3682, allocations: 55.41 kB / 0.6025 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.3684, allocations: 200 kB / 0.6027 GB, free: 0.707 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3684, allocations: 25.7 kB / 0.6027 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.3685, allocations: 108 kB / 0.6028 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.3685, allocations: 23.66 kB / 0.6029 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.3685, allocations: 4 kB / 0.6029 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.3686, allocations: 326.8 kB / 0.6032 GB, free: 216 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.3687, allocations: 43.91 kB / 0.6032 GB, free: 172 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.3688, allocations: 27.98 kB / 0.6032 GB, free: 144 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3689, allocations: 84.81 kB / 0.6033 GB, free: 56 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.369, allocations: 0 / 0.6033 GB, free: 56 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/0.3692, allocations: 121.5 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3692, allocations: 4 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3692, allocations: 0 / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3693, allocations: 3.984 kB / 0.6035 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.3694, allocations: 27.92 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3694, allocations: 0 / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.3694, allocations: 11.94 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3694, allocations: 3.938 kB / 0.6035 GB, free: 15.88 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.017e-05/0.3695, allocations: 134.3 kB / 0.6036 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3695, allocations: 7.906 kB / 0.6036 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.3698, allocations: 146.6 kB / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3698, allocations: 0 / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3698, allocations: 0 / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3698, allocations: 0 / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.3704, allocations: 451.1 kB / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3704, allocations: 0 / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.3704, allocations: 19.98 kB / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3704, allocations: 0 / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.3705, allocations: 3.938 kB / 0.6042 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3705, allocations: 4 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3705, allocations: 8.016 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3707, allocations: 212.3 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3708, allocations: 92.95 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3708, allocations: 15.92 kB / 0.6045 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.3709, allocations: 8 kB / 0.6045 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.3709, allocations: 11.98 kB / 0.6046 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3709, allocations: 4 kB / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3711, allocations: 152 kB / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3711, allocations: 0 / 0.6047 GB, free: 14.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.3713, allocations: 28 kB / 0.6047 GB, free: 14.5 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.0008405/0.3721, allocations: 465.9 kB / 0.6052 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3724, allocations: 83.89 kB / 0.6053 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3724, allocations: 0 / 0.6053 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.3725, allocations: 43.97 kB / 0.6053 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3727, allocations: 23.92 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.3732, allocations: 290.2 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3734, allocations: 0.7083 MB / 0.6063 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.3735, allocations: 24.95 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3735, allocations: 15.44 kB / 0.6063 GB, free: 12.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3735, allocations: 3.938 kB / 0.6063 GB, free: 12.97 MB / 426.7 MB Notification: Performance of Templates: time 0.003165/0.3767, allocations: 1.38 MB / 0.6077 GB, free: 11.6 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches