Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.505/1.505, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.001062/0.001062, allocations: 95.84 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.46/0.46, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5648, allocations: 87.77 MB / 0.5657 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5652, allocations: 79.95 kB / 0.5657 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.5812, allocations: 5.702 MB / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5813, allocations: 0 / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.846e-05/0.5813, allocations: 8 kB / 0.5713 GB, free: 8.484 MB / 394.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.0008977/0.5822, allocations: 442.9 kB / 0.5717 GB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001165/0.5824, allocations: 12.03 kB / 0.5718 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.5825, allocations: 12.75 kB / 0.5718 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.5829, allocations: 237.9 kB / 0.572 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5829, allocations: 384 / 0.572 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.583, allocations: 4.375 kB / 0.572 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.5831, allocations: 62.22 kB / 0.5721 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5832, allocations: 4.094 kB / 0.5721 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5832, allocations: 3.938 kB / 0.5721 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5832, allocations: 0 / 0.5721 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.172e-05/0.5833, allocations: 23.98 kB / 0.5721 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.5839, allocations: 308.8 kB / 0.5724 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.5841, allocations: 66.61 kB / 0.5724 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.5841, allocations: 16.86 kB / 0.5725 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5842, allocations: 3.938 kB / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.5844, allocations: 75.38 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.397e-06/0.5844, allocations: 0 / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006637/0.585, allocations: 185.1 kB / 0.5727 GB, free: 6.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5851, allocations: 55.41 kB / 0.5728 GB, free: 6.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.5854, allocations: 259.7 kB / 0.573 GB, free: 6.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5855, allocations: 29.7 kB / 0.573 GB, free: 6.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.5856, allocations: 116 kB / 0.5732 GB, free: 6.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.5856, allocations: 15.75 kB / 0.5732 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.5856, allocations: 4 kB / 0.5732 GB, free: 6.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5858, allocations: 330.8 kB / 0.5735 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.5858, allocations: 20 kB / 0.5735 GB, free: 6.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.5859, allocations: 37.7 kB / 0.5735 GB, free: 5.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.586, allocations: 66.52 kB / 0.5736 GB, free: 5.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.586, allocations: 0 / 0.5736 GB, free: 5.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.5863, allocations: 109.4 kB / 0.5737 GB, free: 5.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5863, allocations: 4 kB / 0.5737 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5863, allocations: 0 / 0.5737 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5864, allocations: 8.031 kB / 0.5737 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5865, allocations: 19.92 kB / 0.5737 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5865, allocations: 0 / 0.5737 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.5865, allocations: 4.188 kB / 0.5737 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5866, allocations: 4 kB / 0.5737 GB, free: 5.766 MB / 394.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.0001503/0.5867, allocations: 140.2 kB / 0.5739 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.5868, allocations: 15.81 kB / 0.5739 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.5871, allocations: 123 kB / 0.574 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5871, allocations: 4 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5871, allocations: 0 / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5871, allocations: 3.984 kB / 0.574 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.5877, allocations: 443.1 kB / 0.5744 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5877, allocations: 0 / 0.5744 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.5877, allocations: 11.98 kB / 0.5745 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5877, allocations: 0 / 0.5745 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.5877, allocations: 4 kB / 0.5745 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5878, allocations: 4.031 kB / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5878, allocations: 3.938 kB / 0.5745 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.5881, allocations: 224 kB / 0.5747 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.5882, allocations: 93.02 kB / 0.5748 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.5882, allocations: 4 kB / 0.5748 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.5883, allocations: 4.359 kB / 0.5748 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.5883, allocations: 19.88 kB / 0.5748 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5883, allocations: 8 kB / 0.5748 GB, free: 4.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.5886, allocations: 199.3 kB / 0.575 GB, free: 4.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5886, allocations: 0 / 0.575 GB, free: 4.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.5889, allocations: 47.83 kB / 0.575 GB, free: 4.332 MB / 394.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.001168/0.59, allocations: 474.2 kB / 0.5755 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.5903, allocations: 71.83 kB / 0.5756 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5903, allocations: 0 / 0.5756 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.5904, allocations: 31.98 kB / 0.5756 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.5908, allocations: 25.34 kB / 0.5756 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.5914, allocations: 321.3 kB / 0.5759 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.5918, allocations: 0.72 MB / 0.5766 GB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.5919, allocations: 16.55 kB / 0.5766 GB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.5919, allocations: 19.44 kB / 0.5767 GB, free: 2.727 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5919, allocations: 0 / 0.5767 GB, free: 2.727 MB / 394.7 MB Notification: Performance of Templates: time 0.005846/0.5978, allocations: 1.834 MB / 0.5784 GB, free: 0.9062 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches