Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 179 kB / 18.09 MB, free: 3.746 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.446/1.446, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0009107/0.0009107, allocations: 97.55 kB / 293.3 MB, free: 10.79 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.3411/0.3411, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004338, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3572, allocations: 61.88 MB / 0.5107 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4793, allocations: 89.16 MB / 0.5978 GB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4796, allocations: 75.95 kB / 0.5979 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4966, allocations: 6.679 MB / 0.6044 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4967, allocations: 0 / 0.6044 GB, free: 15.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.4967, allocations: 4 kB / 0.6044 GB, free: 15.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00107/0.4978, allocations: 0.6999 MB / 0.6051 GB, free: 14.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.4978, allocations: 12.03 kB / 0.6051 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.498, allocations: 52.28 kB / 0.6051 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.4988, allocations: 499.9 kB / 0.6056 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4989, allocations: 384 / 0.6056 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4989, allocations: 8.359 kB / 0.6056 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.4991, allocations: 83.88 kB / 0.6057 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4991, allocations: 192 / 0.6057 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.4992, allocations: 15.86 kB / 0.6057 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4992, allocations: 4 kB / 0.6057 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.4993, allocations: 31.98 kB / 0.6058 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.4998, allocations: 370.4 kB / 0.6061 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.5, allocations: 109.2 kB / 0.6062 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.5001, allocations: 41.7 kB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.5002, allocations: 8 kB / 0.6063 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.5004, allocations: 108.9 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.5004, allocations: 4 kB / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005029/0.5009, allocations: 204.9 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.501, allocations: 85.11 kB / 0.6067 GB, free: 12.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.5023, allocations: 0.9792 MB / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5024, allocations: 29.7 kB / 0.6076 GB, free: 11.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.5025, allocations: 228.1 kB / 0.6079 GB, free: 11.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.5026, allocations: 23.72 kB / 0.6079 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.5026, allocations: 0 / 0.6079 GB, free: 11.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5028, allocations: 370.8 kB / 0.6082 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.5029, allocations: 35.97 kB / 0.6083 GB, free: 10.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.5029, allocations: 51.64 kB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.5031, allocations: 95.28 kB / 0.6084 GB, free: 10.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5032, allocations: 4 kB / 0.6084 GB, free: 10.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003387/0.5035, allocations: 181.4 kB / 0.6086 GB, free: 10.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5035, allocations: 7.938 kB / 0.6086 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5035, allocations: 7.984 kB / 0.6086 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5036, allocations: 0 / 0.6086 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5037, allocations: 23.98 kB / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5037, allocations: 0 / 0.6086 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.5038, allocations: 19.91 kB / 0.6086 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5038, allocations: 8 kB / 0.6086 GB, free: 10.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002166/0.5041, allocations: 218.2 kB / 0.6089 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.5041, allocations: 51.38 kB / 0.6089 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.5045, allocations: 201.4 kB / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5045, allocations: 0 / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5045, allocations: 0 / 0.6091 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5046, allocations: 7.984 kB / 0.6091 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.5049, allocations: 385.2 kB / 0.6095 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.505, allocations: 3.938 kB / 0.6095 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.505, allocations: 8 kB / 0.6095 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.505, allocations: 7.938 kB / 0.6095 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.505, allocations: 3.984 kB / 0.6095 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.505, allocations: 0 / 0.6095 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.505, allocations: 4 kB / 0.6095 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.5054, allocations: 225.2 kB / 0.6097 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.5057, allocations: 188.4 kB / 0.6099 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.5057, allocations: 11.92 kB / 0.6099 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.5058, allocations: 8.188 kB / 0.6099 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.5059, allocations: 11.98 kB / 0.6099 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5059, allocations: 4 kB / 0.6099 GB, free: 9.121 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008736/0.5068, allocations: 0.733 MB / 0.6106 GB, free: 8.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5068, allocations: 0 / 0.6106 GB, free: 8.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.5071, allocations: 80 kB / 0.6107 GB, free: 8.312 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009163/0.508, allocations: 430.8 kB / 0.6111 GB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.5083, allocations: 87.89 kB / 0.6112 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5083, allocations: 0 / 0.6112 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.5084, allocations: 47.97 kB / 0.6113 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.5088, allocations: 66.88 kB / 0.6113 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.5103, allocations: 0.9753 MB / 0.6123 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.5107, allocations: 0.843 MB / 0.6131 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.5109, allocations: 90.95 kB / 0.6132 GB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.511, allocations: 43.42 kB / 0.6132 GB, free: 5.844 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.511, allocations: 0 / 0.6132 GB, free: 5.844 MB / 426.7 MB Notification: Performance of Templates: time 0.00873/0.5198, allocations: 4.531 MB / 0.6176 GB, free: 1.344 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches