Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 176.9 kB / 17.06 MB, free: 5.098 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.279/1.279, allocations: 223.2 MB / 241 MB, free: 11.87 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.0008771/0.000877, allocations: 92 kB / 292.2 MB, free: 10.9 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.3212/0.3212, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3673, allocations: 61.9 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4941, allocations: 89.25 MB / 0.5967 GB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.4945, allocations: 83.89 kB / 0.5968 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.51, allocations: 5.378 MB / 0.6021 GB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.51, allocations: 3.938 kB / 0.6021 GB, free: 412 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.51, allocations: 4 kB / 0.6021 GB, free: 408 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.00056/0.5106, allocations: 410.9 kB / 0.6025 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5107, allocations: 12.03 kB / 0.6025 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.5107, allocations: 11.81 kB / 0.6025 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.511, allocations: 203.4 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.5111, allocations: 3.953 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.5111, allocations: 4 kB / 0.6027 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5112, allocations: 65.61 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5113, allocations: 0 / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5113, allocations: 0 / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5113, allocations: 0 / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.315e-05/0.5114, allocations: 23.98 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.5118, allocations: 296.8 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.5119, allocations: 62.61 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.512, allocations: 3.984 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.5121, allocations: 67.52 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5121, allocations: 0 / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005371/0.5127, allocations: 177.2 kB / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5127, allocations: 55.34 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5129, allocations: 156.6 kB / 0.6035 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5129, allocations: 29.7 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.513, allocations: 92.14 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.513, allocations: 27.64 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.513, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5131, allocations: 330.8 kB / 0.604 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.5132, allocations: 16 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.5133, allocations: 37.64 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.5133, allocations: 32.17 kB / 0.6041 GB, free: 14.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5134, allocations: 0 / 0.6041 GB, free: 14.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.5135, allocations: 101.6 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5136, allocations: 5.406 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5136, allocations: 0 / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5136, allocations: 4 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.5137, allocations: 15.94 kB / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.5137, allocations: 0 / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.5138, allocations: 16.02 kB / 0.6042 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5138, allocations: 0 / 0.6042 GB, free: 13.96 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 0.0001063/0.5139, allocations: 122.3 kB / 0.6043 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.5139, allocations: 11.84 kB / 0.6043 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.5142, allocations: 118.3 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5142, allocations: 0 / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5142, allocations: 0 / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5142, allocations: 7.984 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.5147, allocations: 407.2 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5147, allocations: 4 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.5147, allocations: 11.98 kB / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5147, allocations: 0 / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5147, allocations: 384 / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5148, allocations: 8.219 kB / 0.6049 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5148, allocations: 4 kB / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.515, allocations: 233.9 kB / 0.6051 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.5151, allocations: 89 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.5151, allocations: 0 / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.5152, allocations: 8 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.5153, allocations: 7.984 kB / 0.6052 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5153, allocations: 7.953 kB / 0.6052 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.5154, allocations: 129.5 kB / 0.6053 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5154, allocations: 0 / 0.6053 GB, free: 12.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.5157, allocations: 35.92 kB / 0.6054 GB, free: 12.66 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.001063/0.5167, allocations: 474.7 kB / 0.6058 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.5169, allocations: 63.91 kB / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5169, allocations: 0 / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.517, allocations: 35.92 kB / 0.6059 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.5173, allocations: 19.98 kB / 0.6059 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.5177, allocations: 218.2 kB / 0.6061 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.518, allocations: 0.7043 MB / 0.6068 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.5181, allocations: 20.48 kB / 0.6069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.5181, allocations: 15.44 kB / 0.6069 GB, free: 11.24 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5181, allocations: 0 / 0.6069 GB, free: 11.24 MB / 426.7 MB Notification: Performance of Templates: time 0.004186/0.5223, allocations: 1.636 MB / 0.6085 GB, free: 9.629 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches