Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00223/0.002229, allocations: 182.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001069/0.001069, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2721/0.2721, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.08e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.6348, allocations: 87.61 MB / 0.5584 GB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.6352, allocations: 74.3 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02472/0.6599, allocations: 5.665 MB / 0.564 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.66, allocations: 4 kB / 0.564 GB, free: 11.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.66, allocations: 7.938 kB / 0.564 GB, free: 11.16 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006271/0.6606, allocations: 412.4 kB / 0.5644 GB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6607, allocations: 8.031 kB / 0.5644 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.6608, allocations: 11.91 kB / 0.5644 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.6612, allocations: 225.4 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.6613, allocations: 3.188 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.6613, allocations: 4 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.6615, allocations: 60.25 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6615, allocations: 0 / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6615, allocations: 3.984 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.6616, allocations: 0 / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/0.6616, allocations: 18.19 kB / 0.5647 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.6622, allocations: 314 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.6624, allocations: 56.38 kB / 0.565 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.6624, allocations: 27.34 kB / 0.5651 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.6625, allocations: 0 / 0.5651 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.6626, allocations: 62.03 kB / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.6627, allocations: 0 / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006068/0.6633, allocations: 176.5 kB / 0.5653 GB, free: 9.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.6633, allocations: 55.41 kB / 0.5653 GB, free: 9.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.6637, allocations: 238.7 kB / 0.5656 GB, free: 9.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.6638, allocations: 29.7 kB / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.6639, allocations: 167.2 kB / 0.5658 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.6639, allocations: 26.7 kB / 0.5658 GB, free: 9.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.664, allocations: 0 / 0.5658 GB, free: 9.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6641, allocations: 318 kB / 0.5661 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.6642, allocations: 14.25 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.6643, allocations: 39.27 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.881e-05/0.6643, allocations: 26.5 kB / 0.5662 GB, free: 8.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6643, allocations: 0 / 0.5662 GB, free: 8.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002183/0.6646, allocations: 94.02 kB / 0.5663 GB, free: 8.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6646, allocations: 4 kB / 0.5663 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6646, allocations: 0 / 0.5663 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6646, allocations: 0 / 0.5663 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.6648, allocations: 19.94 kB / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.6648, allocations: 7.938 kB / 0.5663 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.6649, allocations: 8.031 kB / 0.5663 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.665, allocations: 3.188 kB / 0.5663 GB, free: 8.766 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.671e-05/0.6651, allocations: 106.5 kB / 0.5664 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.6651, allocations: 11.91 kB / 0.5664 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.6654, allocations: 128 kB / 0.5665 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.6655, allocations: 4 kB / 0.5665 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6655, allocations: 192 / 0.5665 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6655, allocations: 7.953 kB / 0.5665 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.6662, allocations: 433.6 kB / 0.567 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6662, allocations: 0 / 0.567 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.6663, allocations: 12 kB / 0.567 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6663, allocations: 0 / 0.567 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6663, allocations: 0 / 0.567 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.6663, allocations: 11.94 kB / 0.567 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6663, allocations: 3.938 kB / 0.567 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.6666, allocations: 218 kB / 0.5672 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.6667, allocations: 104.3 kB / 0.5673 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.6668, allocations: 7.938 kB / 0.5673 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6669, allocations: 7.188 kB / 0.5673 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.667, allocations: 4 kB / 0.5673 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.667, allocations: 11.92 kB / 0.5673 GB, free: 7.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.6673, allocations: 201 kB / 0.5675 GB, free: 7.535 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6673, allocations: 4 kB / 0.5675 GB, free: 7.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000363/0.6677, allocations: 35.38 kB / 0.5675 GB, free: 7.5 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001229/0.6689, allocations: 417.5 kB / 0.5679 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.6691, allocations: 76.97 kB / 0.568 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6692, allocations: 0 / 0.568 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.6693, allocations: 30.12 kB / 0.568 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.6696, allocations: 32.41 kB / 0.5681 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.6703, allocations: 244.4 kB / 0.5683 GB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6706, allocations: 0.7273 MB / 0.569 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.6707, allocations: 19.42 kB / 0.569 GB, free: 6.023 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6707, allocations: 0 / 0.569 GB, free: 6.023 MB / 378.7 MB Notification: Performance of Templates: time 0.005811/0.6765, allocations: 2.144 MB / 0.5711 GB, free: 3.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches