Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 179.8 kB / 18.09 MB, free: 3.625 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.198/1.198, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007594/0.0007594, allocations: 93.39 kB / 293.3 MB, free: 10.77 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.2744/0.2744, allocations: 44.15 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 12 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2609, allocations: 61.88 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09364/0.3546, allocations: 89.33 MB / 0.598 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.3548, allocations: 75.95 kB / 0.598 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.3689, allocations: 5.55 MB / 0.6035 GB, free: 112 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3689, allocations: 0 / 0.6035 GB, free: 112 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3689, allocations: 0 / 0.6035 GB, free: 112 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.0004374/0.3694, allocations: 415 kB / 0.6039 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3694, allocations: 15.97 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.3695, allocations: 8.844 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.3697, allocations: 216 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.3698, allocations: 4.375 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3698, allocations: 4.359 kB / 0.6041 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3699, allocations: 58.23 kB / 0.6042 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3699, allocations: 4.188 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3699, allocations: 3.938 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.37, allocations: 0 / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.37, allocations: 31.91 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.3704, allocations: 281 kB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.3705, allocations: 70.61 kB / 0.6045 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3706, allocations: 16.86 kB / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3706, allocations: 0 / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.3707, allocations: 75.31 kB / 0.6046 GB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3707, allocations: 0 / 0.6046 GB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004887/0.3712, allocations: 173.1 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.3713, allocations: 59.41 kB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3714, allocations: 177.9 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3715, allocations: 25.7 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3715, allocations: 100.1 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3716, allocations: 23.7 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3716, allocations: 0 / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3717, allocations: 331 kB / 0.6055 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.3717, allocations: 16 kB / 0.6055 GB, free: 13.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.3718, allocations: 37.7 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3719, allocations: 69.62 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3719, allocations: 0 / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.3721, allocations: 101.5 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3722, allocations: 8 kB / 0.6057 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3722, allocations: 0 / 0.6057 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3722, allocations: 0 / 0.6057 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.3723, allocations: 23.95 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3723, allocations: 4 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.3723, allocations: 0 / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3723, allocations: 7.938 kB / 0.6057 GB, free: 13.57 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.451e-05/0.3724, allocations: 136.1 kB / 0.6058 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.3725, allocations: 7.906 kB / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.3727, allocations: 122.2 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3727, allocations: 0 / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3727, allocations: 4 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3727, allocations: 4 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.3732, allocations: 407.2 kB / 0.6064 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3732, allocations: 0 / 0.6064 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.3732, allocations: 8 kB / 0.6064 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3732, allocations: 7.984 kB / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3733, allocations: 0 / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3733, allocations: 3.938 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3733, allocations: 7.969 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.3735, allocations: 212.5 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.3736, allocations: 97 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3736, allocations: 0 / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.3737, allocations: 8 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3737, allocations: 15.92 kB / 0.6067 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.3737, allocations: 4 kB / 0.6067 GB, free: 12.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.3738, allocations: 131.2 kB / 0.6068 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3738, allocations: 0 / 0.6068 GB, free: 12.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.3741, allocations: 31.98 kB / 0.6069 GB, free: 12.27 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.0008814/0.375, allocations: 481.8 kB / 0.6073 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3751, allocations: 63.91 kB / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3751, allocations: 0 / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.3752, allocations: 35.92 kB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3755, allocations: 22.48 kB / 0.6074 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.3759, allocations: 238.5 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3762, allocations: 0.7004 MB / 0.6084 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.104e-05/0.3763, allocations: 16.55 kB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3763, allocations: 15.44 kB / 0.6084 GB, free: 10.83 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3763, allocations: 0 / 0.6084 GB, free: 10.83 MB / 426.7 MB Notification: Performance of Templates: time 0.003536/0.3798, allocations: 1.68 MB / 0.61 GB, free: 9.176 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches