Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 182.2 kB / 15.76 MB, free: 6.367 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.582/1.582, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008257/0.0008256, allocations: 82.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003338, allocations: 15.98 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 58.85 MB / 490.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5661, allocations: 87.72 MB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5664, allocations: 81.83 kB / 0.5645 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.5815, allocations: 5.384 MB / 0.5698 GB, free: 7.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5816, allocations: 0 / 0.5698 GB, free: 7.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5816, allocations: 4 kB / 0.5698 GB, free: 7.484 MB / 378.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.0005361/0.5822, allocations: 413.2 kB / 0.5702 GB, free: 7.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5822, allocations: 12.03 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.5823, allocations: 7.906 kB / 0.5702 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.5826, allocations: 221.8 kB / 0.5704 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.5827, allocations: 4 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.5827, allocations: 4 kB / 0.5704 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.5828, allocations: 59.91 kB / 0.5704 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5829, allocations: 0 / 0.5704 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5829, allocations: 3.984 kB / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5829, allocations: 0 / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.583, allocations: 19.17 kB / 0.5705 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.5834, allocations: 300.3 kB / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.5836, allocations: 56.17 kB / 0.5708 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.5836, allocations: 7.938 kB / 0.5708 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.5838, allocations: 68.89 kB / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5838, allocations: 0 / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005897/0.5844, allocations: 181.9 kB / 0.5711 GB, free: 6.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.5845, allocations: 63.28 kB / 0.5711 GB, free: 6.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.5847, allocations: 171.6 kB / 0.5713 GB, free: 5.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5847, allocations: 29.14 kB / 0.5713 GB, free: 5.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.5848, allocations: 98.69 kB / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.5848, allocations: 23.59 kB / 0.5714 GB, free: 5.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.5848, allocations: 3.875 kB / 0.5714 GB, free: 5.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.585, allocations: 322.2 kB / 0.5717 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.5851, allocations: 25.98 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.5851, allocations: 40.02 kB / 0.5718 GB, free: 5.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.5852, allocations: 23.19 kB / 0.5718 GB, free: 5.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5852, allocations: 0 / 0.5718 GB, free: 5.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.5854, allocations: 104.6 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5854, allocations: 4 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5854, allocations: 4 kB / 0.5719 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5855, allocations: 4.031 kB / 0.5719 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.5856, allocations: 15.98 kB / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5856, allocations: 0 / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.5856, allocations: 11.39 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5857, allocations: 4.156 kB / 0.572 GB, free: 5.199 MB / 378.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.0001209/0.5858, allocations: 132.5 kB / 0.5721 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.5858, allocations: 7.906 kB / 0.5721 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.5861, allocations: 126.2 kB / 0.5722 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5861, allocations: 4 kB / 0.5722 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5861, allocations: 0 / 0.5722 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5861, allocations: 0 / 0.5722 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.5866, allocations: 418.6 kB / 0.5726 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5866, allocations: 384 / 0.5726 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.5867, allocations: 8 kB / 0.5726 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5867, allocations: 4 kB / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.5867, allocations: 8.031 kB / 0.5726 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5867, allocations: 3.953 kB / 0.5726 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5867, allocations: 0 / 0.5726 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.587, allocations: 223.1 kB / 0.5729 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.5871, allocations: 95.55 kB / 0.5729 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.5872, allocations: 5.266 kB / 0.573 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.5873, allocations: 13.8 kB / 0.573 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.5873, allocations: 4.562 kB / 0.573 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5873, allocations: 8.5 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.5875, allocations: 142.6 kB / 0.5731 GB, free: 4.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5875, allocations: 0 / 0.5731 GB, free: 4.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.5878, allocations: 35.61 kB / 0.5731 GB, free: 3.98 MB / 378.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.001085/0.5889, allocations: 476 kB / 0.5736 GB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.5891, allocations: 71.02 kB / 0.5737 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5891, allocations: 0 / 0.5737 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.5892, allocations: 34.86 kB / 0.5737 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.5894, allocations: 23.98 kB / 0.5737 GB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.59, allocations: 238.8 kB / 0.574 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.5903, allocations: 0.712 MB / 0.5746 GB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.5904, allocations: 24.83 kB / 0.5747 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.5904, allocations: 15.44 kB / 0.5747 GB, free: 2.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5904, allocations: 0 / 0.5747 GB, free: 2.449 MB / 378.7 MB Notification: Performance of Templates: time 0.004425/0.5949, allocations: 1.669 MB / 0.5763 GB, free: 0.7969 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches