Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 177.3 kB / 17.06 MB, free: 5.082 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.271/1.271, allocations: 223.2 MB / 241 MB, free: 11.84 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.0008456/0.0008457, allocations: 93.12 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.3568/0.3568, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4024, allocations: 61.91 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.5121, allocations: 89.1 MB / 0.5966 GB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.5124, allocations: 79.94 kB / 0.5967 GB, free: 5.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.527, allocations: 5.741 MB / 0.6023 GB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5271, allocations: 3.938 kB / 0.6023 GB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.5271, allocations: 0 / 0.6023 GB, free: 196 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005112/0.5276, allocations: 430.7 kB / 0.6027 GB, free: 15.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5277, allocations: 12.03 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.5277, allocations: 11.81 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.528, allocations: 230.7 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5281, allocations: 0 / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.5281, allocations: 7.891 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5282, allocations: 53.67 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.5282, allocations: 4 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.5282, allocations: 0 / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5283, allocations: 0 / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.5283, allocations: 19.98 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.5286, allocations: 189.7 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.5287, allocations: 50.56 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.5288, allocations: 7.938 kB / 0.6032 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.5289, allocations: 75.42 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.5289, allocations: 0 / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002815/0.5292, allocations: 97.48 kB / 0.6034 GB, free: 14.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.5293, allocations: 55.34 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.5296, allocations: 239.2 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.5296, allocations: 29.7 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.5296, allocations: 116.1 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.5297, allocations: 3.906 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.5297, allocations: 0 / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5298, allocations: 330.8 kB / 0.6041 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.5299, allocations: 15.98 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.5299, allocations: 29.69 kB / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.53, allocations: 20 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.53, allocations: 0 / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001529/0.5301, allocations: 97.67 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5302, allocations: 5.875 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5302, allocations: 3.953 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5302, allocations: 0 / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.5303, allocations: 12 kB / 0.6043 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5303, allocations: 160 / 0.6043 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.5303, allocations: 11.98 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.5304, allocations: 0 / 0.6043 GB, free: 13.86 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 (7): * Single equations (assignments): 7 * 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.0001161/0.5305, allocations: 140.3 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.5305, allocations: 15.81 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.5307, allocations: 106.6 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5308, allocations: 3.953 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5308, allocations: 3.938 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5308, allocations: 0 / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.5309, allocations: 201.6 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.531, allocations: 0 / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.531, allocations: 4 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.531, allocations: 4 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.531, allocations: 4 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.531, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.531, allocations: 3.953 kB / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5312, allocations: 128.8 kB / 0.6049 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.5313, allocations: 96.92 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5313, allocations: 0 / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.5314, allocations: 11.98 kB / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.5314, allocations: 15.94 kB / 0.605 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.5314, allocations: 192 / 0.605 GB, free: 13.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.5316, allocations: 192.5 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5316, allocations: 0 / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.5318, allocations: 28 kB / 0.6052 GB, free: 12.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008616/0.5327, allocations: 418 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.5329, allocations: 47.91 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5329, allocations: 4.062 kB / 0.6057 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.533, allocations: 23.98 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.5332, allocations: 19.98 kB / 0.6057 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.5337, allocations: 297.3 kB / 0.606 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.534, allocations: 0.7277 MB / 0.6067 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.534, allocations: 16.67 kB / 0.6067 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.5341, allocations: 15.44 kB / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5341, allocations: 0 / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003947/0.538, allocations: 1.613 MB / 0.6083 GB, free: 9.766 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches