Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.296/1.296, allocations: 223.2 MB / 241 MB, free: 11.88 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.001034/0.001034, allocations: 94.64 kB / 292.2 MB, free: 10.91 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.3559/0.3559, allocations: 44.23 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003938, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4482, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.5755, allocations: 89.26 MB / 0.5967 GB, free: 5.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5759, allocations: 87.91 kB / 0.5968 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.591, allocations: 5.433 MB / 0.6021 GB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5911, allocations: 0 / 0.6021 GB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.5911, allocations: 8 kB / 0.6021 GB, free: 376 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005772/0.5917, allocations: 406.9 kB / 0.6025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5917, allocations: 12.03 kB / 0.6025 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.5918, allocations: 7.906 kB / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.5921, allocations: 214.7 kB / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.5921, allocations: 11.89 kB / 0.6027 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.5922, allocations: 4 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.5923, allocations: 57.66 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5923, allocations: 0 / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.5924, allocations: 0 / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.5924, allocations: 4 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.5924, allocations: 19.98 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.5929, allocations: 288.9 kB / 0.6031 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.593, allocations: 58.61 kB / 0.6032 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.5931, allocations: 4 kB / 0.6032 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.5932, allocations: 67.42 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.5932, allocations: 0 / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.5938, allocations: 185.2 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5939, allocations: 55.39 kB / 0.6035 GB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.594, allocations: 161.1 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5941, allocations: 29.69 kB / 0.6036 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5941, allocations: 96.14 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.5942, allocations: 23.7 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.5942, allocations: 0 / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5943, allocations: 330.8 kB / 0.6041 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.5944, allocations: 23.94 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.5944, allocations: 33.7 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.5945, allocations: 32.17 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5945, allocations: 0 / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.5947, allocations: 101.4 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5947, allocations: 10.19 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5947, allocations: 0 / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5947, allocations: 4.031 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.5948, allocations: 16 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5948, allocations: 4 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.5949, allocations: 4.359 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5949, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.141e-05/0.595, allocations: 130.2 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.595, allocations: 11.91 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.5953, allocations: 122.4 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5953, allocations: 8 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5953, allocations: 3.984 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5953, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.5958, allocations: 411.2 kB / 0.6049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5958, allocations: 3.984 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.5958, allocations: 11.94 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5958, allocations: 4 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.5958, allocations: 4 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5959, allocations: 4.266 kB / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5959, allocations: 0 / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5961, allocations: 229.9 kB / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.5962, allocations: 89.02 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.5962, allocations: 7.984 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.5963, allocations: 8 kB / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.5963, allocations: 4 kB / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5963, allocations: 11.94 kB / 0.6053 GB, free: 12.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.5964, allocations: 131.2 kB / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5965, allocations: 0 / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.5967, allocations: 28 kB / 0.6055 GB, free: 12.61 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001083/0.5978, allocations: 479.1 kB / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.598, allocations: 63.91 kB / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.598, allocations: 0 / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.5981, allocations: 35.92 kB / 0.606 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.5984, allocations: 32.03 kB / 0.606 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.5988, allocations: 222.4 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.5991, allocations: 0.7121 MB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.5991, allocations: 8.875 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.5992, allocations: 23.42 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5992, allocations: 0 / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of Templates: time 0.004016/0.6032, allocations: 1.665 MB / 0.6086 GB, free: 9.52 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches