Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008713, allocations: 102.8 kB / 16.02 MB, free: 76 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.001038/0.001038, allocations: 186 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.4957/0.4957, allocations: 43.58 MB / 315 MB, free: 8.703 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.0006095/0.0006098, allocations: 15.58 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1849, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003032/0.1881, allocations: 1.414 MB / 444.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1898, allocations: 0.773 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.1899, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.1903, allocations: 35.84 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1905, allocations: 47.83 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1908, allocations: 83.83 kB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.191, allocations: 91.7 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1912, allocations: 16.2 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.1913, allocations: 35.78 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.1914, allocations: 31.84 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1914, allocations: 0 / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1915, allocations: 35.98 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.1916, allocations: 31.84 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.1917, allocations: 53.45 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1919, allocations: 115.9 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.192, allocations: 0 / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.192, allocations: 0 / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.192, allocations: 0 / 446.2 MB, free: 9.902 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.0006823/0.1927, allocations: 395.1 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1927, allocations: 11.97 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.1928, allocations: 12.84 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.1931, allocations: 216 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.1931, allocations: 4.375 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1932, allocations: 4.125 kB / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1933, allocations: 53.67 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1934, allocations: 3.938 kB / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1934, allocations: 4 kB / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1934, allocations: 0 / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.1935, allocations: 15.98 kB / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.194, allocations: 292.9 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1942, allocations: 62.61 kB / 447.3 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.1942, allocations: 16.86 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1943, allocations: 0 / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1945, allocations: 71.3 kB / 447.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1946, allocations: 4 kB / 447.4 MB, free: 8.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007412/0.1953, allocations: 165.3 kB / 447.5 MB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.1954, allocations: 55.41 kB / 447.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1956, allocations: 182.1 kB / 447.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1956, allocations: 33.7 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.1957, allocations: 104.1 kB / 447.9 MB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.1958, allocations: 19.72 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1959, allocations: 17.7 kB / 447.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.196, allocations: 334.7 kB / 448.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.1961, allocations: 16 kB / 448.3 MB, free: 7.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.1962, allocations: 33.7 kB / 448.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1963, allocations: 65.69 kB / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1963, allocations: 0 / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1965, allocations: 97.61 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1966, allocations: 8 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1966, allocations: 80 / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1966, allocations: 3.984 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1967, allocations: 16.38 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1967, allocations: 3.984 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.1968, allocations: 15.88 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1968, allocations: 4 kB / 448.5 MB, free: 7.371 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1969, allocations: 133.7 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.197, allocations: 7.906 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.197, allocations: 24.64 kB / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.197, allocations: 0 / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.197, allocations: 0 / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1971, allocations: 3.938 kB / 448.7 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1976, allocations: 399.2 kB / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1976, allocations: 0 / 449.1 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.1976, allocations: 12.03 kB / 449.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1976, allocations: 0 / 449.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1976, allocations: 7.922 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1976, allocations: 4 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1976, allocations: 3.984 kB / 449.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1979, allocations: 200.2 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.198, allocations: 88.92 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.198, allocations: 7.938 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1981, allocations: 11.98 kB / 449.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1981, allocations: 4 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.1981, allocations: 3.984 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1983, allocations: 144.1 kB / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1983, allocations: 0 / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1985, allocations: 20 kB / 449.6 MB, free: 6.219 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.1998, allocations: 476.3 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.1999, allocations: 51.92 kB / 450.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2, allocations: 0 / 450.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.2, allocations: 40.03 kB / 450.1 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.2004, allocations: 27.92 kB / 450.1 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.2009, allocations: 238.7 kB / 450.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.2013, allocations: 0.7122 MB / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.2013, allocations: 17.19 kB / 451.1 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2014, allocations: 19.42 kB / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2014, allocations: 0 / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of Templates: time 0.005133/0.2065, allocations: 1.607 MB / 452.7 MB, free: 3.012 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches