Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 179.1 kB / 18.09 MB, free: 3.738 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.205/1.205, allocations: 223.3 MB / 242.1 MB, free: 11.65 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.0007627/0.0007627, allocations: 93.17 kB / 293.3 MB, free: 10.74 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.2729/0.2729, allocations: 44.14 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 12 kB / 461.1 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2488, allocations: 61.88 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09173/0.3406, allocations: 88.06 MB / 0.5967 GB, free: 7.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.3408, allocations: 83.92 kB / 0.5968 GB, free: 6.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009943/0.3508, allocations: 4.276 MB / 0.601 GB, free: 2.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3508, allocations: 0 / 0.601 GB, free: 2.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3508, allocations: 0 / 0.601 GB, free: 2.652 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.0003481/0.3512, allocations: 407 kB / 0.6014 GB, free: 2.203 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3512, allocations: 12.03 kB / 0.6014 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.3512, allocations: 8.844 kB / 0.6014 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.3514, allocations: 213.1 kB / 0.6016 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.3515, allocations: 4.375 kB / 0.6016 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3515, allocations: 4.375 kB / 0.6016 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3516, allocations: 62.17 kB / 0.6017 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3516, allocations: 192 / 0.6017 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3517, allocations: 3.938 kB / 0.6017 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3517, allocations: 0 / 0.6017 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.3518, allocations: 27.98 kB / 0.6017 GB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.3521, allocations: 304.7 kB / 0.602 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.3522, allocations: 42.5 kB / 0.602 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.3523, allocations: 24.94 kB / 0.602 GB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.3523, allocations: 4 kB / 0.602 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3523, allocations: 34.56 kB / 0.6021 GB, free: 1.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3523, allocations: 0 / 0.6021 GB, free: 1.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007693/0.3531, allocations: 253.5 kB / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3531, allocations: 55.41 kB / 0.6024 GB, free: 1.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3533, allocations: 200 kB / 0.6026 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3533, allocations: 25.7 kB / 0.6026 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.3534, allocations: 108 kB / 0.6027 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3534, allocations: 23.64 kB / 0.6027 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.3534, allocations: 3.938 kB / 0.6027 GB, free: 0.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.3535, allocations: 330.8 kB / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.3536, allocations: 31.98 kB / 0.6031 GB, free: 312 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.3537, allocations: 23.98 kB / 0.6031 GB, free: 288 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3538, allocations: 68.83 kB / 0.6032 GB, free: 216 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3538, allocations: 0 / 0.6032 GB, free: 216 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001905/0.354, allocations: 117.5 kB / 0.6033 GB, free: 92 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3541, allocations: 4 kB / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3541, allocations: 0 / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.3541, allocations: 0 / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.3542, allocations: 23.92 kB / 0.6033 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3542, allocations: 4 kB / 0.6033 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3542, allocations: 11.94 kB / 0.6033 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3543, allocations: 4 kB / 0.6033 GB, free: 44 kB / 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 () * 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.941e-05/0.3544, allocations: 130.3 kB / 0.6034 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.3544, allocations: 7.906 kB / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.3546, allocations: 130.7 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3547, allocations: 0 / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3547, allocations: 7.938 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3547, allocations: 0 / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.3552, allocations: 423.2 kB / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3552, allocations: 0 / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.3552, allocations: 19.98 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3552, allocations: 0 / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3553, allocations: 11.94 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3553, allocations: 0 / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3553, allocations: 3.984 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3555, allocations: 208.3 kB / 0.6042 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.3556, allocations: 97 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3556, allocations: 3.938 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.3557, allocations: 11.94 kB / 0.6043 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.3557, allocations: 7.984 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.3557, allocations: 4 kB / 0.6043 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3559, allocations: 156 kB / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3559, allocations: 0 / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.3561, allocations: 31.98 kB / 0.6045 GB, free: 14.7 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.0008364/0.3569, allocations: 469 kB / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.3572, allocations: 67.91 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.3572, allocations: 4 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.3572, allocations: 35.98 kB / 0.6051 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3575, allocations: 20.3 kB / 0.6051 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.3579, allocations: 278.2 kB / 0.6053 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3582, allocations: 0.7082 MB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.3582, allocations: 12.66 kB / 0.606 GB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.3583, allocations: 23.38 kB / 0.6061 GB, free: 13.22 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3583, allocations: 0 / 0.6061 GB, free: 13.22 MB / 426.7 MB Notification: Performance of Templates: time 0.003147/0.3614, allocations: 1.352 MB / 0.6074 GB, free: 11.87 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches