Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.234/1.234, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008769, allocations: 83.86 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.183/0.183, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.474e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3818/0.4927, allocations: 89.44 MB / 0.5891 GB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.493, allocations: 71.97 kB / 0.5891 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.5082, allocations: 5.974 MB / 0.595 GB, free: 9.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5083, allocations: 0 / 0.595 GB, free: 9.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.5083, allocations: 0 / 0.595 GB, free: 9.844 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004631/0.5088, allocations: 390.3 kB / 0.5953 GB, free: 9.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5088, allocations: 15.97 kB / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.5089, allocations: 7.906 kB / 0.5954 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.5092, allocations: 208.9 kB / 0.5956 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5092, allocations: 0 / 0.5956 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.5092, allocations: 8 kB / 0.5956 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5094, allocations: 71.39 kB / 0.5956 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.5094, allocations: 3.938 kB / 0.5956 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5094, allocations: 3.938 kB / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5094, allocations: 0 / 0.5956 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.5095, allocations: 23.92 kB / 0.5957 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.5099, allocations: 284.9 kB / 0.5959 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.51, allocations: 62.67 kB / 0.596 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.5101, allocations: 16.98 kB / 0.596 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5101, allocations: 4 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.5103, allocations: 71.33 kB / 0.5961 GB, free: 8.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5103, allocations: 0 / 0.5961 GB, free: 8.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004488/0.5107, allocations: 153.2 kB / 0.5962 GB, free: 8.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.5108, allocations: 81.09 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.511, allocations: 146.6 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.511, allocations: 33.7 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.511, allocations: 96.12 kB / 0.5966 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5111, allocations: 19.66 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.5111, allocations: 4 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5112, allocations: 318.8 kB / 0.5969 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.5113, allocations: 24 kB / 0.5969 GB, free: 7.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.5113, allocations: 42.56 kB / 0.597 GB, free: 7.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.5114, allocations: 23.98 kB / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5114, allocations: 0 / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.5115, allocations: 101.6 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5116, allocations: 8 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5116, allocations: 0 / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5116, allocations: 4.062 kB / 0.5971 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.5117, allocations: 15.94 kB / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5117, allocations: 7.984 kB / 0.5971 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.5118, allocations: 3.953 kB / 0.5971 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.5118, allocations: 8 kB / 0.5971 GB, free: 7.395 MB / 410.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 () * 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 8.613e-05/0.5119, allocations: 105 kB / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.5119, allocations: 7.906 kB / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.5121, allocations: 122.3 kB / 0.5973 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5121, allocations: 4 kB / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5122, allocations: 0 / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5122, allocations: 0 / 0.5973 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.5126, allocations: 403.2 kB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5126, allocations: 7.938 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.5127, allocations: 8 kB / 0.5977 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5127, allocations: 0 / 0.5977 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5127, allocations: 7.984 kB / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5127, allocations: 7.984 kB / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5127, allocations: 0 / 0.5978 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.5129, allocations: 214 kB / 0.598 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.513, allocations: 85.02 kB / 0.598 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.513, allocations: 11.94 kB / 0.5981 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.5131, allocations: 4 kB / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.5131, allocations: 12.12 kB / 0.5981 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5131, allocations: 7.984 kB / 0.5981 GB, free: 6.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.5132, allocations: 125.8 kB / 0.5982 GB, free: 6.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5133, allocations: 0 / 0.5982 GB, free: 6.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.5135, allocations: 31.94 kB / 0.5982 GB, free: 6.141 MB / 410.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) * 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.001122/0.5147, allocations: 471.2 kB / 0.5987 GB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.5149, allocations: 55.92 kB / 0.5987 GB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5149, allocations: 4.062 kB / 0.5987 GB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.515, allocations: 31.94 kB / 0.5988 GB, free: 5.711 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.5152, allocations: 27.91 kB / 0.5988 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.5157, allocations: 135.3 kB / 0.5989 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.5161, allocations: 0.7004 MB / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.624e-05/0.5162, allocations: 24.61 kB / 0.5996 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.5163, allocations: 23.42 kB / 0.5997 GB, free: 4.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5163, allocations: 0 / 0.5997 GB, free: 4.75 MB / 410.7 MB Notification: Performance of Templates: time 0.004768/0.5211, allocations: 1.884 MB / 0.6015 GB, free: 2.879 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches