Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 177.3 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.282/1.282, 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.0009594/0.0009595, allocations: 93.91 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.3867/0.3867, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003485, allocations: 12 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4249, allocations: 61.91 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.5609, allocations: 89.52 MB / 0.597 GB, free: 5.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.5613, allocations: 79.91 kB / 0.5971 GB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.5798, allocations: 6.159 MB / 0.6031 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5799, allocations: 4 kB / 0.6031 GB, free: 15.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5799, allocations: 0 / 0.6031 GB, free: 15.35 MB / 426.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.0005685/0.5805, allocations: 406.9 kB / 0.6035 GB, free: 14.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.5805, allocations: 12.02 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.5806, allocations: 11.91 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5809, allocations: 212.1 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5809, allocations: 4 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.581, allocations: 4 kB / 0.6037 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5812, allocations: 67.39 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5812, allocations: 7.984 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5812, allocations: 0 / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5812, allocations: 0 / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.5813, allocations: 19.98 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.5817, allocations: 292.7 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.5819, allocations: 58.69 kB / 0.6041 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.582, allocations: 3.984 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.5821, allocations: 71.45 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5821, allocations: 0 / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.5827, allocations: 177.3 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.5828, allocations: 84.98 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.5829, allocations: 147.3 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5829, allocations: 25.7 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.583, allocations: 100.1 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.583, allocations: 23.7 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5831, allocations: 0 / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5832, allocations: 323.1 kB / 0.605 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.5832, allocations: 23.98 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.5833, allocations: 42.56 kB / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.5834, allocations: 23.98 kB / 0.6051 GB, free: 13.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5834, allocations: 4 kB / 0.6051 GB, free: 13.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.5836, allocations: 97.53 kB / 0.6052 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5836, allocations: 4 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.5836, allocations: 384 / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5836, allocations: 8.062 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.5837, allocations: 19.92 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.5838, allocations: 0 / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.5838, allocations: 11.95 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.5838, allocations: 7.938 kB / 0.6053 GB, free: 12.87 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.000126/0.584, allocations: 126.3 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.584, allocations: 7.906 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.5843, allocations: 122.2 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5843, allocations: 4 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5843, allocations: 0 / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5843, allocations: 4 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.5848, allocations: 403.3 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5848, allocations: 0 / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.5848, allocations: 15.98 kB / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.5849, allocations: 4 kB / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5849, allocations: 0 / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5849, allocations: 8.266 kB / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5849, allocations: 0 / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.5851, allocations: 217.9 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.5852, allocations: 93 kB / 0.6062 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.5852, allocations: 7.953 kB / 0.6062 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.5853, allocations: 4 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.5854, allocations: 11.98 kB / 0.6063 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5854, allocations: 4 kB / 0.6063 GB, free: 11.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.5855, allocations: 121.5 kB / 0.6064 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5855, allocations: 0 / 0.6064 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.5858, allocations: 31.98 kB / 0.6064 GB, free: 11.59 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.001152/0.587, allocations: 0.5203 MB / 0.6069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.5872, allocations: 67.91 kB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5872, allocations: 0 / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.5873, allocations: 31.98 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.5875, allocations: 19.98 kB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.5879, allocations: 222.1 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.5882, allocations: 0.6965 MB / 0.6079 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.124e-05/0.5883, allocations: 16.55 kB / 0.6079 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.5884, allocations: 15.44 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5884, allocations: 4 kB / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of Templates: time 0.004377/0.5927, allocations: 1.886 MB / 0.6098 GB, free: 8.27 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches