Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001972/0.001972, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2117/0.2117, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003326, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5778, allocations: 87.94 MB / 0.5646 GB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5782, allocations: 74.59 kB / 0.5647 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.5937, allocations: 5.961 MB / 0.5705 GB, free: 7.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5937, allocations: 0 / 0.5705 GB, free: 7.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.5937, allocations: 0 / 0.5705 GB, free: 7.039 MB / 378.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.0005532/0.5943, allocations: 402.8 kB / 0.5709 GB, free: 6.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5944, allocations: 12.03 kB / 0.5709 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.5944, allocations: 11.91 kB / 0.5709 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.5947, allocations: 221.8 kB / 0.5711 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.5948, allocations: 0.625 kB / 0.5711 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.5948, allocations: 5.25 kB / 0.5712 GB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.595, allocations: 73.69 kB / 0.5712 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.595, allocations: 0 / 0.5712 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.595, allocations: 8 kB / 0.5712 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.595, allocations: 0 / 0.5712 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.5951, allocations: 22.23 kB / 0.5713 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.5956, allocations: 283.6 kB / 0.5715 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.5959, allocations: 60.36 kB / 0.5716 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.5959, allocations: 3.938 kB / 0.5716 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.5961, allocations: 69.33 kB / 0.5717 GB, free: 5.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.5961, allocations: 0 / 0.5717 GB, free: 5.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007334/0.5969, allocations: 176.6 kB / 0.5718 GB, free: 5.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.597, allocations: 77.11 kB / 0.5719 GB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.5972, allocations: 143.5 kB / 0.572 GB, free: 5.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.5972, allocations: 33.52 kB / 0.5721 GB, free: 5.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.5973, allocations: 99.88 kB / 0.5722 GB, free: 5.293 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.5973, allocations: 23.39 kB / 0.5722 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5974, allocations: 0 / 0.5722 GB, free: 5.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5976, allocations: 326.5 kB / 0.5725 GB, free: 4.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.5976, allocations: 19.73 kB / 0.5725 GB, free: 4.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.5977, allocations: 42.19 kB / 0.5726 GB, free: 4.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.5978, allocations: 23.72 kB / 0.5726 GB, free: 4.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5978, allocations: 0 / 0.5726 GB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.598, allocations: 112.3 kB / 0.5727 GB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.5981, allocations: 4 kB / 0.5727 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5981, allocations: 3.953 kB / 0.5727 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.5981, allocations: 4 kB / 0.5727 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5982, allocations: 15.98 kB / 0.5727 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5983, allocations: 0 / 0.5727 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.5983, allocations: 7.875 kB / 0.5727 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.5983, allocations: 4.031 kB / 0.5727 GB, free: 4.75 MB / 378.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 0.000156/0.5985, allocations: 129.2 kB / 0.5728 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.5985, allocations: 11.89 kB / 0.5729 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.5988, allocations: 120.9 kB / 0.573 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5989, allocations: 3.953 kB / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.5989, allocations: 0 / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5989, allocations: 384 / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.5995, allocations: 410.1 kB / 0.5734 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5995, allocations: 4.281 kB / 0.5734 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.5996, allocations: 15.64 kB / 0.5734 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5996, allocations: 0 / 0.5734 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.5996, allocations: 11.92 kB / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5996, allocations: 0 / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5996, allocations: 0 / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.6, allocations: 221.4 kB / 0.5736 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.6001, allocations: 96.72 kB / 0.5737 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.6001, allocations: 4 kB / 0.5737 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.6002, allocations: 3.625 kB / 0.5737 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.6003, allocations: 7.984 kB / 0.5737 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.6003, allocations: 4 kB / 0.5737 GB, free: 3.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.6004, allocations: 121.6 kB / 0.5738 GB, free: 3.605 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6004, allocations: 4 kB / 0.5738 GB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.6008, allocations: 35.88 kB / 0.5739 GB, free: 3.57 MB / 378.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.00154/0.6024, allocations: 0.5134 MB / 0.5744 GB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6026, allocations: 63.34 kB / 0.5744 GB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6026, allocations: 0 / 0.5744 GB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.6027, allocations: 27.56 kB / 0.5745 GB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.6031, allocations: 31.17 kB / 0.5745 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.6036, allocations: 213.4 kB / 0.5747 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6039, allocations: 0.7004 MB / 0.5754 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.604, allocations: 32.47 kB / 0.5754 GB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.6041, allocations: 15.44 kB / 0.5754 GB, free: 2.027 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6041, allocations: 0 / 0.5754 GB, free: 2.027 MB / 378.7 MB Notification: Performance of Templates: time 0.004965/0.6091, allocations: 1.882 MB / 0.5773 GB, free: 164 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches