Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000955/0.0009551, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.321/1.321, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007827/0.0007827, allocations: 90.59 kB / 267.1 MB, free: 9.27 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.3543/0.3543, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.814e-05, allocations: 8 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 58.86 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.49, allocations: 87.48 MB / 0.5583 GB, free: 16.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4903, allocations: 77.36 kB / 0.5583 GB, free: 16.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0142/0.5045, allocations: 6.441 MB / 0.5646 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5045, allocations: 3.391 kB / 0.5646 GB, free: 12.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.5045, allocations: 8 kB / 0.5646 GB, free: 12.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005201/0.5051, allocations: 0.5883 MB / 0.5652 GB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5051, allocations: 12.03 kB / 0.5652 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.5052, allocations: 50.78 kB / 0.5653 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.5058, allocations: 469.2 kB / 0.5657 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5059, allocations: 15.73 kB / 0.5657 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.5059, allocations: 0 / 0.5657 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.506, allocations: 90.94 kB / 0.5658 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.506, allocations: 0 / 0.5658 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5061, allocations: 1.375 kB / 0.5658 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5061, allocations: 3.984 kB / 0.5658 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.5061, allocations: 31.67 kB / 0.5658 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.5064, allocations: 380.8 kB / 0.5662 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5066, allocations: 106.1 kB / 0.5663 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.5067, allocations: 35.98 kB / 0.5663 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5067, allocations: 0 / 0.5663 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.5068, allocations: 111.8 kB / 0.5665 GB, free: 10.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.5068, allocations: 0 / 0.5665 GB, free: 10.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002725/0.5071, allocations: 162.8 kB / 0.5666 GB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5072, allocations: 84.86 kB / 0.5667 GB, free: 10.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/0.5081, allocations: 0.9041 MB / 0.5676 GB, free: 9.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.5081, allocations: 28.14 kB / 0.5676 GB, free: 9.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.5082, allocations: 228.3 kB / 0.5678 GB, free: 9.703 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.5083, allocations: 42.23 kB / 0.5679 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.5083, allocations: 0 / 0.5679 GB, free: 9.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.5084, allocations: 370.5 kB / 0.5682 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.5084, allocations: 23.31 kB / 0.5682 GB, free: 9.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.5085, allocations: 57.92 kB / 0.5683 GB, free: 9.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.5085, allocations: 34.67 kB / 0.5683 GB, free: 9.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5085, allocations: 8 kB / 0.5683 GB, free: 9.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001851/0.5087, allocations: 160.7 kB / 0.5685 GB, free: 9.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5087, allocations: 8 kB / 0.5685 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5088, allocations: 0 / 0.5685 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5088, allocations: 0 / 0.5685 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.5089, allocations: 23.98 kB / 0.5685 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.5089, allocations: 3.984 kB / 0.5685 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.509, allocations: 15.89 kB / 0.5685 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.509, allocations: 11.25 kB / 0.5685 GB, free: 9.016 MB / 394.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 () * 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 5.36e-05/0.5091, allocations: 121.1 kB / 0.5687 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.5091, allocations: 47.44 kB / 0.5687 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.5094, allocations: 193 kB / 0.5689 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5094, allocations: 7.938 kB / 0.5689 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5094, allocations: 0 / 0.5689 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5094, allocations: 0 / 0.5689 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.5097, allocations: 387.8 kB / 0.5693 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5097, allocations: 4.25 kB / 0.5693 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.5097, allocations: 19.98 kB / 0.5693 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5097, allocations: 1.219 kB / 0.5693 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5098, allocations: 4 kB / 0.5693 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5098, allocations: 0 / 0.5693 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5098, allocations: 0 / 0.5693 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.51, allocations: 224.8 kB / 0.5695 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.5102, allocations: 189.3 kB / 0.5697 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.5103, allocations: 4 kB / 0.5697 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/0.5104, allocations: 11.92 kB / 0.5697 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.5104, allocations: 11.98 kB / 0.5697 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.5104, allocations: 4 kB / 0.5697 GB, free: 7.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005989/0.511, allocations: 0.719 MB / 0.5704 GB, free: 7.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.511, allocations: 3.938 kB / 0.5704 GB, free: 7.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002623/0.5113, allocations: 75.81 kB / 0.5705 GB, free: 7.25 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: 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) * 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.0007572/0.5121, allocations: 390.2 kB / 0.5709 GB, free: 6.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.5123, allocations: 81.11 kB / 0.5709 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5123, allocations: 0 / 0.5709 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.5123, allocations: 42.94 kB / 0.571 GB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.5127, allocations: 64.58 kB / 0.571 GB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.5135, allocations: 0.7516 MB / 0.5718 GB, free: 6.109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.5138, allocations: 0.853 MB / 0.5726 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.5139, allocations: 85.77 kB / 0.5727 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.514, allocations: 46.36 kB / 0.5727 GB, free: 5.129 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.514, allocations: 0 / 0.5727 GB, free: 5.129 MB / 394.7 MB Notification: Performance of Templates: time 0.006919/0.5209, allocations: 4.509 MB / 0.5771 GB, free: 0.6367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches