Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.786/1.786, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.000844/0.0008442, allocations: 90.41 kB / 271.3 MB, free: 8.23 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.4206/0.4206, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 20 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4683, allocations: 87.87 MB / 0.5658 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.4685, allocations: 71.97 kB / 0.5658 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01984/0.4883, allocations: 7.86 MB / 0.5735 GB, free: 6.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4884, allocations: 0 / 0.5735 GB, free: 6.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.4884, allocations: 4 kB / 0.5735 GB, free: 6.238 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007904/0.4892, allocations: 0.5507 MB / 0.5741 GB, free: 5.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4893, allocations: 8.031 kB / 0.5741 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.4893, allocations: 28.56 kB / 0.5741 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.4898, allocations: 312 kB / 0.5744 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4898, allocations: 4.375 kB / 0.5744 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4899, allocations: 8.281 kB / 0.5744 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.4901, allocations: 113.6 kB / 0.5745 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4901, allocations: 192 / 0.5745 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4901, allocations: 11.94 kB / 0.5745 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4901, allocations: 0 / 0.5745 GB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4903, allocations: 39.97 kB / 0.5746 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.4909, allocations: 485 kB / 0.575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.4911, allocations: 125.2 kB / 0.5751 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.4912, allocations: 45.69 kB / 0.5752 GB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4913, allocations: 4 kB / 0.5752 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.4915, allocations: 105.1 kB / 0.5753 GB, free: 4.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.4915, allocations: 0 / 0.5753 GB, free: 4.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008403/0.4923, allocations: 395.8 kB / 0.5757 GB, free: 3.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.4924, allocations: 81.09 kB / 0.5757 GB, free: 3.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.4929, allocations: 477.6 kB / 0.5762 GB, free: 3.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4929, allocations: 29.7 kB / 0.5762 GB, free: 3.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4931, allocations: 164.3 kB / 0.5764 GB, free: 3.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.4931, allocations: 43.36 kB / 0.5764 GB, free: 3.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.4931, allocations: 4 kB / 0.5764 GB, free: 3.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4933, allocations: 350.7 kB / 0.5768 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4934, allocations: 47.42 kB / 0.5768 GB, free: 2.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4935, allocations: 77.75 kB / 0.5769 GB, free: 2.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.4937, allocations: 127.5 kB / 0.577 GB, free: 2.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4937, allocations: 3.938 kB / 0.577 GB, free: 2.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003181/0.494, allocations: 189.2 kB / 0.5772 GB, free: 2.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4941, allocations: 7.938 kB / 0.5772 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4941, allocations: 4 kB / 0.5772 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.4941, allocations: 0 / 0.5772 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4942, allocations: 35.92 kB / 0.5772 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4942, allocations: 0 / 0.5772 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/0.4943, allocations: 11.98 kB / 0.5772 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4944, allocations: 8 kB / 0.5772 GB, free: 2.141 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001432/0.4945, allocations: 174.3 kB / 0.5774 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4946, allocations: 31.62 kB / 0.5774 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.495, allocations: 224.2 kB / 0.5777 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.495, allocations: 0 / 0.5777 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.495, allocations: 4 kB / 0.5777 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.495, allocations: 0 / 0.5777 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/0.4958, allocations: 0.7025 MB / 0.5783 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4958, allocations: 0 / 0.5783 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.4959, allocations: 31.92 kB / 0.5784 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4959, allocations: 0 / 0.5784 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4959, allocations: 7.938 kB / 0.5784 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4959, allocations: 0 / 0.5784 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4959, allocations: 4 kB / 0.5784 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.4963, allocations: 384.1 kB / 0.5788 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4965, allocations: 128.7 kB / 0.5789 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.4965, allocations: 11.88 kB / 0.5789 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4966, allocations: 15.98 kB / 0.5789 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.4967, allocations: 11.98 kB / 0.5789 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.4967, allocations: 8.562 kB / 0.5789 GB, free: 308 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003859/0.4971, allocations: 359.1 kB / 0.5793 GB, free: 15.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4971, allocations: 0 / 0.5793 GB, free: 15.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003381/0.4975, allocations: 56.12 kB / 0.5793 GB, free: 15.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.0009459/0.4984, allocations: 494.3 kB / 0.5798 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.4987, allocations: 119.8 kB / 0.5799 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4987, allocations: 0 / 0.5799 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4988, allocations: 68.16 kB / 0.58 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.4994, allocations: 69.81 kB / 0.58 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.5002, allocations: 0.6056 MB / 0.5806 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5006, allocations: 0.783 MB / 0.5814 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.5007, allocations: 42.14 kB / 0.5814 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.5007, allocations: 27.44 kB / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5007, allocations: 0 / 0.5815 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Templates: time 0.006213/0.507, allocations: 3.046 MB / 0.5844 GB, free: 10.72 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches