Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009181/0.0009182, allocations: 174.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.323/1.323, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.0008657/0.0008658, allocations: 93.98 kB / 281.6 MB, free: 5.32 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.1824/0.1824, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.475e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.5232, allocations: 88.55 MB / 0.5812 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5235, allocations: 75.95 kB / 0.5812 GB, free: 7.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01559/0.5391, allocations: 5.703 MB / 0.5868 GB, free: 2.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5392, allocations: 8 kB / 0.5868 GB, free: 2.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5392, allocations: 6.891 kB / 0.5868 GB, free: 2.191 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.0004892/0.5397, allocations: 400.8 kB / 0.5872 GB, free: 1.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5397, allocations: 15.98 kB / 0.5872 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.5398, allocations: 11.81 kB / 0.5872 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.5401, allocations: 218.8 kB / 0.5874 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5402, allocations: 3.953 kB / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.5402, allocations: 4 kB / 0.5874 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.941e-05/0.5403, allocations: 16 kB / 0.5875 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.5404, allocations: 53.67 kB / 0.5875 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5404, allocations: 4 kB / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5404, allocations: 0 / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5404, allocations: 3.938 kB / 0.5875 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.5409, allocations: 277.4 kB / 0.5878 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.541, allocations: 58.62 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.541, allocations: 16.98 kB / 0.5878 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.541, allocations: 0 / 0.5878 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.5412, allocations: 63.39 kB / 0.5879 GB, free: 0.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.5412, allocations: 4.75 kB / 0.5879 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004759/0.5417, allocations: 145.2 kB / 0.588 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.5417, allocations: 55.41 kB / 0.5881 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.542, allocations: 201.7 kB / 0.5883 GB, free: 500 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.542, allocations: 25.7 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.5421, allocations: 112.1 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5421, allocations: 23.7 kB / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.5421, allocations: 0 / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5422, allocations: 330.8 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.5423, allocations: 12 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.5423, allocations: 29.72 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.821e-05/0.5424, allocations: 39.86 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5424, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001382/0.5426, allocations: 89.66 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5426, allocations: 4 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5426, allocations: 0 / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5426, allocations: 7.984 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.5427, allocations: 16 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5427, allocations: 3.938 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.5428, allocations: 4 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.5428, allocations: 8.031 kB / 0.589 GB, free: 15.77 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 8.624e-05/0.5429, allocations: 111.5 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.5429, allocations: 15.81 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.5431, allocations: 111.4 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5431, allocations: 0 / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5432, allocations: 4.188 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5432, allocations: 0 / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.5436, allocations: 395.8 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5436, allocations: 0 / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.5437, allocations: 11.98 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.5437, allocations: 7.938 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5437, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5437, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5437, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.5439, allocations: 222.3 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.544, allocations: 100.9 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.544, allocations: 96 / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.5441, allocations: 7.938 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.5441, allocations: 7.984 kB / 0.5899 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5442, allocations: 4 kB / 0.5899 GB, free: 14.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.5443, allocations: 155.2 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5443, allocations: 4 kB / 0.5901 GB, free: 14.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.5446, allocations: 39.92 kB / 0.5901 GB, free: 14.49 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.0009189/0.5455, allocations: 384 kB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5456, allocations: 51.94 kB / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5457, allocations: 0 / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.5457, allocations: 27.98 kB / 0.5906 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.546, allocations: 34.73 kB / 0.5906 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.5464, allocations: 194.2 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.5468, allocations: 0.7158 MB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.5468, allocations: 20.84 kB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.5469, allocations: 15.44 kB / 0.5915 GB, free: 13.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.954e-06/0.5469, allocations: 3.938 kB / 0.5915 GB, free: 13.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004365/0.5513, allocations: 1.682 MB / 0.5932 GB, free: 11.4 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches