Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 167.8 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5654/0.5654, allocations: 43.58 MB / 314.6 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006364/0.0006365, allocations: 18.97 kB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1824, allocations: 58.86 MB / 442.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002682/0.1852, allocations: 1.394 MB / 444.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1866, allocations: 0.7461 MB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.1867, allocations: 3.938 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.187, allocations: 27.91 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1873, allocations: 47.83 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1876, allocations: 71.83 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1877, allocations: 79.7 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1879, allocations: 16.22 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.188, allocations: 43.77 kB / 445.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.513e-05/0.1881, allocations: 23.86 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1881, allocations: 4 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.1882, allocations: 35.98 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.1883, allocations: 19.91 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.1884, allocations: 41.64 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1885, allocations: 80.11 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1885, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1886, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1886, allocations: 4 kB / 445.4 MB, free: 10.59 MB / 382.1 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.0006667/0.1892, allocations: 402.8 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1893, allocations: 12.03 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1894, allocations: 11.91 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1896, allocations: 202.8 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1896, allocations: 0 / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1897, allocations: 4 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1899, allocations: 61.61 kB / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1899, allocations: 0 / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1899, allocations: 0 / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1899, allocations: 7.938 kB / 446.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.19, allocations: 23.98 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1904, allocations: 277 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1906, allocations: 62.61 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.1907, allocations: 24.78 kB / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1907, allocations: 0 / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.191, allocations: 71.25 kB / 446.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.191, allocations: 4 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005555/0.1916, allocations: 177.3 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.1917, allocations: 59.41 kB / 446.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1918, allocations: 182.2 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1919, allocations: 25.7 kB / 447 MB, free: 8.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.192, allocations: 104.1 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.192, allocations: 27.64 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.192, allocations: 0 / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1921, allocations: 326.8 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.1922, allocations: 16 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.1923, allocations: 41.64 kB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.245e-05/0.1923, allocations: 27.98 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1924, allocations: 0 / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1925, allocations: 97.55 kB / 447.6 MB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1926, allocations: 7.938 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1926, allocations: 0 / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1926, allocations: 0 / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.1927, allocations: 19.98 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1927, allocations: 4.031 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.1927, allocations: 8 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1928, allocations: 0 / 447.7 MB, free: 8.113 MB / 382.1 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 () * Number of clocked 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 0.0001432/0.1929, allocations: 130.7 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.1929, allocations: 11.86 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.193, allocations: 12.72 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.193, allocations: 0 / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.193, allocations: 4 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.193, allocations: 3.984 kB / 447.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.1935, allocations: 399.2 kB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1935, allocations: 0 / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.1935, allocations: 11.94 kB / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1935, allocations: 0 / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1936, allocations: 4 kB / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1936, allocations: 0 / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1936, allocations: 192 / 448.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1939, allocations: 208.3 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.194, allocations: 100.8 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.194, allocations: 0 / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.1941, allocations: 4 kB / 448.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1941, allocations: 7.984 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1941, allocations: 4 kB / 448.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1943, allocations: 155.1 kB / 448.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.1943, allocations: 0 / 448.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1945, allocations: 27.94 kB / 448.7 MB, free: 6.949 MB / 382.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001147/0.1957, allocations: 461 kB / 449.2 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.1959, allocations: 63.89 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1959, allocations: 0 / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.196, allocations: 23.98 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.1963, allocations: 31.84 kB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.1968, allocations: 238.4 kB / 449.5 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.1973, allocations: 0.7082 MB / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.458e-05/0.1974, allocations: 16.88 kB / 450.3 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.1974, allocations: 19.42 kB / 450.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1974, allocations: 0 / 450.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of Templates: time 0.004681/0.2021, allocations: 1.584 MB / 451.9 MB, free: 3.797 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches