Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 183 kB / 18.09 MB, free: 3.73 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.362/1.362, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.0008865/0.0008864, allocations: 93.7 kB / 293.3 MB, free: 10.81 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.3637/0.3637, allocations: 44.15 MB / 388.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005884/0.0005885, allocations: 12 kB / 461.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4043, allocations: 61.87 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.5184, allocations: 89.17 MB / 0.5978 GB, free: 5.961 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5187, allocations: 79.94 kB / 0.5979 GB, free: 5.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.5364, allocations: 6.717 MB / 0.6044 GB, free: 15.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5365, allocations: 7.938 kB / 0.6044 GB, free: 15.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.225e-05/0.5365, allocations: 8 kB / 0.6045 GB, free: 15.15 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.001166/0.5377, allocations: 0.7076 MB / 0.6051 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5377, allocations: 12.03 kB / 0.6052 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.5379, allocations: 48.38 kB / 0.6052 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/0.5387, allocations: 0.4998 MB / 0.6057 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5388, allocations: 4.375 kB / 0.6057 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.5388, allocations: 12.31 kB / 0.6057 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.539, allocations: 79.92 kB / 0.6058 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.539, allocations: 4.188 kB / 0.6058 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.539, allocations: 7.938 kB / 0.6058 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.539, allocations: 8 kB / 0.6058 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.5391, allocations: 31.97 kB / 0.6058 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.5396, allocations: 382.3 kB / 0.6062 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.5399, allocations: 109.2 kB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/0.54, allocations: 37.7 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.54, allocations: 0 / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.5403, allocations: 116.9 kB / 0.6064 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.5403, allocations: 4 kB / 0.6065 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000505/0.5408, allocations: 204.9 kB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.5408, allocations: 77.11 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.5422, allocations: 1.011 MB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.5423, allocations: 33.7 kB / 0.6077 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5424, allocations: 228.1 kB / 0.608 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.5425, allocations: 27.61 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.5425, allocations: 4 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5427, allocations: 370.8 kB / 0.6083 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.5428, allocations: 27.98 kB / 0.6084 GB, free: 10.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.5429, allocations: 64.56 kB / 0.6084 GB, free: 10.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.543, allocations: 91.36 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5431, allocations: 7.875 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003357/0.5434, allocations: 169 kB / 0.6087 GB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.5435, allocations: 11.94 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5435, allocations: 0.625 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5435, allocations: 3.984 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.5436, allocations: 23.98 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.5436, allocations: 3.938 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.5438, allocations: 27.89 kB / 0.6088 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.5438, allocations: 8 kB / 0.6088 GB, free: 10.46 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.0002418/0.544, allocations: 214.3 kB / 0.609 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.5441, allocations: 63.27 kB / 0.609 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.5445, allocations: 197.6 kB / 0.6092 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5446, allocations: 0 / 0.6092 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5446, allocations: 4 kB / 0.6092 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5446, allocations: 4 kB / 0.6092 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.545, allocations: 385.3 kB / 0.6096 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.545, allocations: 0 / 0.6096 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.5451, allocations: 8 kB / 0.6096 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.5451, allocations: 7.922 kB / 0.6096 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5451, allocations: 8 kB / 0.6096 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/0.5451, allocations: 3.938 kB / 0.6096 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5451, allocations: 0 / 0.6096 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003561/0.5455, allocations: 225.2 kB / 0.6098 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.5457, allocations: 192.3 kB / 0.61 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.5458, allocations: 11.94 kB / 0.61 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.5459, allocations: 8 kB / 0.61 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.546, allocations: 11.98 kB / 0.61 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.546, allocations: 4 kB / 0.61 GB, free: 9.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008562/0.5468, allocations: 0.7526 MB / 0.6108 GB, free: 8.281 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5469, allocations: 4 kB / 0.6108 GB, free: 8.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.5472, allocations: 80 kB / 0.6109 GB, free: 8.199 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.0009632/0.5481, allocations: 425.5 kB / 0.6113 GB, free: 7.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.5484, allocations: 91.83 kB / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5484, allocations: 0 / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.5485, allocations: 47.91 kB / 0.6114 GB, free: 7.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.549, allocations: 70.58 kB / 0.6115 GB, free: 7.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.5505, allocations: 0.9946 MB / 0.6124 GB, free: 6.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.551, allocations: 0.8469 MB / 0.6133 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.5512, allocations: 99.42 kB / 0.6134 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.5513, allocations: 39.42 kB / 0.6134 GB, free: 5.699 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5513, allocations: 0 / 0.6134 GB, free: 5.699 MB / 426.7 MB Notification: Performance of Templates: time 0.01112/0.5625, allocations: 4.61 MB / 0.6179 GB, free: 1.113 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches