Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 180.3 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.227/1.227, allocations: 221.3 MB / 236 MB, free: 2.887 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.0007885/0.0007886, allocations: 99.72 kB / 287 MB, free: 184 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.1781/0.1781, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.933e-05, allocations: 8 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.49, allocations: 89.17 MB / 0.5888 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4903, allocations: 71.97 kB / 0.5889 GB, free: 56 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.5049, allocations: 5.585 MB / 0.5943 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.5049, allocations: 0 / 0.5943 GB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.5049, allocations: 8 kB / 0.5943 GB, free: 10.47 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.0004142/0.5053, allocations: 398.2 kB / 0.5947 GB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5054, allocations: 8.031 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.5054, allocations: 15.81 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.5057, allocations: 215.4 kB / 0.5949 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5058, allocations: 7.953 kB / 0.5949 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.5058, allocations: 0 / 0.5949 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.5059, allocations: 61.55 kB / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5059, allocations: 3.938 kB / 0.595 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.506, allocations: 8 kB / 0.595 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.506, allocations: 0 / 0.595 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/0.506, allocations: 23.98 kB / 0.595 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.5064, allocations: 296.8 kB / 0.5953 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.5065, allocations: 54.62 kB / 0.5954 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.5066, allocations: 24.98 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.5066, allocations: 0 / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.5067, allocations: 63.39 kB / 0.5955 GB, free: 9.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.5067, allocations: 4 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004194/0.5071, allocations: 161.1 kB / 0.5956 GB, free: 8.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5072, allocations: 51.41 kB / 0.5957 GB, free: 8.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.5074, allocations: 194.4 kB / 0.5958 GB, free: 8.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.5074, allocations: 29.7 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.5074, allocations: 108.1 kB / 0.596 GB, free: 8.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.5075, allocations: 23.66 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5075, allocations: 4 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.5076, allocations: 326.8 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.5076, allocations: 20 kB / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.5077, allocations: 37.64 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.5077, allocations: 23.98 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5077, allocations: 4 kB / 0.5964 GB, free: 8.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001445/0.5079, allocations: 101.5 kB / 0.5965 GB, free: 8.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5079, allocations: 7.938 kB / 0.5965 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5079, allocations: 0 / 0.5965 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5079, allocations: 4 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.508, allocations: 15.98 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.508, allocations: 0 / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.5081, allocations: 4 kB / 0.5965 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.5081, allocations: 4.188 kB / 0.5965 GB, free: 7.992 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 5.996e-05/0.5082, allocations: 117 kB / 0.5966 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.5082, allocations: 11.91 kB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.5084, allocations: 123.2 kB / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.5084, allocations: 4 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5084, allocations: 0 / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5084, allocations: 3.938 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.5088, allocations: 423.2 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5089, allocations: 4 kB / 0.5972 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.5089, allocations: 11.94 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.5089, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5089, allocations: 4 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5089, allocations: 8.219 kB / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5089, allocations: 0 / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.5091, allocations: 221.9 kB / 0.5974 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.5092, allocations: 96.92 kB / 0.5975 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5092, allocations: 0 / 0.5975 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.5093, allocations: 11.98 kB / 0.5975 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.5093, allocations: 7.953 kB / 0.5975 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.5094, allocations: 7.984 kB / 0.5975 GB, free: 6.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.5095, allocations: 156.2 kB / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5095, allocations: 0 / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.5097, allocations: 31.94 kB / 0.5977 GB, free: 6.652 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.0009298/0.5107, allocations: 431.6 kB / 0.5981 GB, free: 6.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.5108, allocations: 59.86 kB / 0.5982 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5108, allocations: 4.062 kB / 0.5982 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.5109, allocations: 31.94 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.5112, allocations: 23.98 kB / 0.5982 GB, free: 6.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.5115, allocations: 182.8 kB / 0.5984 GB, free: 6.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.5118, allocations: 0.7121 MB / 0.5991 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.5119, allocations: 20.92 kB / 0.5991 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.5119, allocations: 15.44 kB / 0.5991 GB, free: 5.254 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5119, allocations: 0 / 0.5991 GB, free: 5.254 MB / 410.7 MB Notification: Performance of Templates: time 0.003977/0.5159, allocations: 1.734 MB / 0.6008 GB, free: 3.527 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches