Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.45 kB / 281.6 MB, free: 5.305 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.1992/0.1992, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.308e-05, allocations: 8 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.5127, allocations: 88.54 MB / 0.5812 GB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.513, allocations: 79.94 kB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.5287, allocations: 5.598 MB / 0.5867 GB, free: 2.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5288, allocations: 0 / 0.5867 GB, free: 2.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5288, allocations: 4 kB / 0.5867 GB, free: 2.277 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005283/0.5293, allocations: 398.2 kB / 0.5871 GB, free: 1.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5294, allocations: 11.98 kB / 0.5871 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.5294, allocations: 7.906 kB / 0.5871 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.5298, allocations: 219.5 kB / 0.5873 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.5298, allocations: 11.89 kB / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.5299, allocations: 4 kB / 0.5873 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.208e-05/0.53, allocations: 15.98 kB / 0.5873 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.5301, allocations: 53.62 kB / 0.5874 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5301, allocations: 3.984 kB / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5301, allocations: 7.922 kB / 0.5874 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5301, allocations: 4 kB / 0.5874 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.5306, allocations: 265.5 kB / 0.5877 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.5307, allocations: 54.69 kB / 0.5877 GB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.5308, allocations: 16.98 kB / 0.5877 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.5308, allocations: 0 / 0.5877 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.5309, allocations: 63.33 kB / 0.5878 GB, free: 1.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.531, allocations: 0 / 0.5878 GB, free: 1.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005025/0.5315, allocations: 149.3 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.5315, allocations: 59.34 kB / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.5317, allocations: 187.6 kB / 0.5882 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5318, allocations: 25.7 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.5319, allocations: 100.1 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.5319, allocations: 23.66 kB / 0.5883 GB, free: 444 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.5319, allocations: 0 / 0.5883 GB, free: 444 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5321, allocations: 322.8 kB / 0.5886 GB, free: 112 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.5321, allocations: 20 kB / 0.5886 GB, free: 92 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.5322, allocations: 37.7 kB / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.5322, allocations: 19.95 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5322, allocations: 0 / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.5324, allocations: 97.58 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5325, allocations: 4 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5325, allocations: 4 kB / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5325, allocations: 0 / 0.5888 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.5326, allocations: 12 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5326, allocations: 4.031 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.5327, allocations: 8.172 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.5327, allocations: 8 kB / 0.5888 GB, free: 15.89 MB / 410.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 9.914e-05/0.5328, allocations: 108.9 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.5329, allocations: 19.81 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.5331, allocations: 111.6 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5331, allocations: 0 / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5332, allocations: 0 / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5332, allocations: 4 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.5337, allocations: 379.8 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5337, allocations: 4 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.5337, allocations: 15.88 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5337, allocations: 0 / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.5338, allocations: 7.984 kB / 0.5894 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5338, allocations: 0 / 0.5894 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5338, allocations: 0 / 0.5894 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.534, allocations: 222 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.5341, allocations: 89.02 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5342, allocations: 0 / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.5343, allocations: 7.984 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.5343, allocations: 8 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.5343, allocations: 7.984 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.5344, allocations: 140 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5345, allocations: 0 / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.5348, allocations: 35.92 kB / 0.5899 GB, free: 14.65 MB / 410.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.0009516/0.5358, allocations: 390 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.5359, allocations: 63.91 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.536, allocations: 0 / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.536, allocations: 23.94 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.5363, allocations: 24.06 kB / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.5367, allocations: 177.5 kB / 0.5906 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.5369, allocations: 0.7118 MB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.537, allocations: 20.7 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.5371, allocations: 15.44 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5371, allocations: 7.938 kB / 0.5913 GB, free: 13.26 MB / 410.7 MB Notification: Performance of Templates: time 0.004209/0.5413, allocations: 1.646 MB / 0.5929 GB, free: 11.62 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches