Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007668/0.000767, allocations: 96.94 kB / 16.02 MB, free: 84 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.0007965/0.0007966, allocations: 181.5 kB / 16.91 MB, free: 6.914 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.003/2.003, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.4937/0.4937, allocations: 43.57 MB / 315 MB, free: 8.758 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.0006706/0.0006705, allocations: 16.56 kB / 384.6 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1804, allocations: 58.86 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003978/0.1845, allocations: 1.414 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1867, allocations: 0.7691 MB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.1869, allocations: 7.938 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.1875, allocations: 31.89 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1879, allocations: 55.81 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1883, allocations: 75.86 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.1887, allocations: 95.69 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1889, allocations: 8.219 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1891, allocations: 43.78 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1892, allocations: 35.72 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1892, allocations: 4 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1895, allocations: 39.98 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.651e-05/0.1896, allocations: 19.92 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1897, allocations: 57.44 kB / 446.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.19, allocations: 115.9 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1901, allocations: 0 / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1901, allocations: 0 / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1901, allocations: 0 / 446.2 MB, free: 9.867 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.0009749/0.1911, allocations: 406.9 kB / 446.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/0.1912, allocations: 12.03 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.1912, allocations: 12.84 kB / 446.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.1917, allocations: 216.7 kB / 446.9 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.1917, allocations: 384 / 446.9 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1918, allocations: 8.125 kB / 446.9 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.192, allocations: 53.67 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.192, allocations: 0 / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.192, allocations: 0 / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.192, allocations: 3.984 kB / 446.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.1921, allocations: 27.92 kB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.1927, allocations: 284.9 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1929, allocations: 54.67 kB / 447.3 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.193, allocations: 20.86 kB / 447.3 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.193, allocations: 4 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.1933, allocations: 67.33 kB / 447.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.755e-06/0.1933, allocations: 0 / 447.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008096/0.1942, allocations: 181.1 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.1942, allocations: 51.41 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.1945, allocations: 195.3 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1945, allocations: 29.7 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.1946, allocations: 100.1 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1947, allocations: 27.7 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.1948, allocations: 17.72 kB / 448 MB, free: 7.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1949, allocations: 326.8 kB / 448.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.195, allocations: 23.98 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.1951, allocations: 33.7 kB / 448.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1952, allocations: 57.84 kB / 448.4 MB, free: 7.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1952, allocations: 4 kB / 448.4 MB, free: 7.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000206/0.1954, allocations: 113.3 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1955, allocations: 4 kB / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1955, allocations: 160 / 448.5 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1955, allocations: 4 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1956, allocations: 15.98 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1956, allocations: 3.984 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.1957, allocations: 7.938 kB / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1957, allocations: 8 kB / 448.5 MB, free: 7.305 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.0001258/0.1959, allocations: 129.8 kB / 448.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1959, allocations: 7.906 kB / 448.7 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.1959, allocations: 17.41 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.196, allocations: 0 / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.196, allocations: 0 / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.196, allocations: 3.938 kB / 448.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.1965, allocations: 399.6 kB / 449.1 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1965, allocations: 4.031 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.1966, allocations: 15.94 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1966, allocations: 0 / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1966, allocations: 11.94 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1966, allocations: 0 / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1966, allocations: 0 / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1969, allocations: 196.3 kB / 449.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.197, allocations: 100.9 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.197, allocations: 7.938 kB / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1971, allocations: 0 / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.1972, allocations: 11.98 kB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.1972, allocations: 4 kB / 449.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1974, allocations: 156.8 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1974, allocations: 0 / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1977, allocations: 24 kB / 449.6 MB, free: 6.133 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.001324/0.199, allocations: 476.9 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1992, allocations: 51.92 kB / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1993, allocations: 0 / 450.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.1993, allocations: 36.05 kB / 450.2 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.1998, allocations: 23.98 kB / 450.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.2005, allocations: 258.4 kB / 450.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.2008, allocations: 0.7004 MB / 451.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.487e-05/0.2009, allocations: 25.16 kB / 451.2 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.201, allocations: 15.44 kB / 451.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of SimCode: time 3.105e-06/0.201, allocations: 0 / 451.2 MB, free: 4.531 MB / 382.1 MB Notification: Performance of Templates: time 0.005345/0.2063, allocations: 1.627 MB / 452.8 MB, free: 2.906 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches