Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008241/0.0008241, allocations: 183.9 kB / 18.09 MB, free: 3.746 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.172/1.172, allocations: 223.3 MB / 242.1 MB, free: 9.941 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.0007779/0.0007779, allocations: 97.62 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.2807/0.2807, allocations: 44.15 MB / 388.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 61.88 MB / 0.5107 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09514/0.3584, allocations: 88.31 MB / 0.597 GB, free: 6.754 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.3586, allocations: 79.94 kB / 0.597 GB, free: 6.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.3699, allocations: 4.739 MB / 0.6017 GB, free: 1.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3699, allocations: 0 / 0.6017 GB, free: 1.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3699, allocations: 4 kB / 0.6017 GB, free: 1.934 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003724/0.3703, allocations: 383.2 kB / 0.602 GB, free: 1.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3703, allocations: 12.03 kB / 0.6021 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3704, allocations: 12.78 kB / 0.6021 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3706, allocations: 200.1 kB / 0.6023 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3706, allocations: 4.375 kB / 0.6023 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3706, allocations: 384 / 0.6023 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3708, allocations: 75.95 kB / 0.6023 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3708, allocations: 192 / 0.6023 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3708, allocations: 7.938 kB / 0.6023 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3708, allocations: 4 kB / 0.6023 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.3709, allocations: 35.91 kB / 0.6024 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.3713, allocations: 292.8 kB / 0.6027 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3714, allocations: 54.56 kB / 0.6027 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.3715, allocations: 20.97 kB / 0.6027 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3715, allocations: 7.938 kB / 0.6027 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3715, allocations: 30.56 kB / 0.6028 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 3.256e-06/0.3715, allocations: 11.92 kB / 0.6028 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000551/0.3721, allocations: 185.2 kB / 0.603 GB, free: 456 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3722, allocations: 89.09 kB / 0.603 GB, free: 348 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3723, allocations: 135.9 kB / 0.6032 GB, free: 204 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3723, allocations: 29.7 kB / 0.6032 GB, free: 168 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.3723, allocations: 92.05 kB / 0.6033 GB, free: 72 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3724, allocations: 27.7 kB / 0.6033 GB, free: 44 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.3724, allocations: 0 / 0.6033 GB, free: 44 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3725, allocations: 322.8 kB / 0.6036 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.3726, allocations: 31.97 kB / 0.6037 GB, free: 15.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.3727, allocations: 45.64 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3728, allocations: 69.09 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3728, allocations: 4 kB / 0.6038 GB, free: 15.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001947/0.373, allocations: 109.5 kB / 0.6039 GB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3731, allocations: 7.984 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3731, allocations: 0 / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3731, allocations: 4 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.3732, allocations: 16 kB / 0.6039 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3732, allocations: 7.984 kB / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.3732, allocations: 4 kB / 0.6039 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3733, allocations: 384 / 0.6039 GB, free: 15.41 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.097e-05/0.3733, allocations: 122.3 kB / 0.604 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3734, allocations: 7.906 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.3736, allocations: 129.9 kB / 0.6042 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3736, allocations: 0 / 0.6042 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3737, allocations: 8 kB / 0.6042 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3737, allocations: 0 / 0.6042 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.3741, allocations: 398.3 kB / 0.6045 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3741, allocations: 0 / 0.6045 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.3742, allocations: 19.98 kB / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3742, allocations: 0 / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.3742, allocations: 0 / 0.6046 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3742, allocations: 3.938 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3742, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.3744, allocations: 211.6 kB / 0.6048 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3745, allocations: 77.11 kB / 0.6048 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3745, allocations: 11.92 kB / 0.6049 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3746, allocations: 11.94 kB / 0.6049 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3746, allocations: 11.98 kB / 0.6049 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3746, allocations: 0 / 0.6049 GB, free: 14.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.3747, allocations: 106.2 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3747, allocations: 0 / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.375, allocations: 51.7 kB / 0.605 GB, free: 14.16 MB / 426.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 () * 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.0008372/0.3758, allocations: 460.1 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.376, allocations: 63.97 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.376, allocations: 3.938 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.3761, allocations: 43.92 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.3764, allocations: 11.98 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.3767, allocations: 201.1 kB / 0.6058 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.377, allocations: 0.6965 MB / 0.6065 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.041e-05/0.377, allocations: 12.97 kB / 0.6065 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3771, allocations: 15.42 kB / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3771, allocations: 0 / 0.6065 GB, free: 12.78 MB / 426.7 MB Notification: Performance of Templates: time 0.003291/0.3804, allocations: 1.373 MB / 0.6078 GB, free: 11.42 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches