Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 222.6 MB, free: 9.098 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.0009443, allocations: 95.83 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4188/0.4188, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005143/0.0005143, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1835, allocations: 58.86 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003656/0.1872, allocations: 1.39 MB / 491.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1896, allocations: 0.7345 MB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1897, allocations: 3.938 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.1902, allocations: 35.89 kB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.1906, allocations: 43.83 kB / 492.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1911, allocations: 79.78 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.1913, allocations: 79.7 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1915, allocations: 20.2 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1917, allocations: 35.8 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1918, allocations: 31.84 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.1918, allocations: 0 / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.192, allocations: 35.98 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.1921, allocations: 19.86 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.1922, allocations: 37.64 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1925, allocations: 84.09 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1925, allocations: 0 / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1925, allocations: 8 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1925, allocations: 0 / 492.9 MB, free: 8.547 MB / 378.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.0008821/0.1934, allocations: 402.8 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1935, allocations: 12.02 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.1936, allocations: 7.906 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.194, allocations: 202.8 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.194, allocations: 7.984 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1941, allocations: 4 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1942, allocations: 65.55 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1943, allocations: 0 / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1943, allocations: 0 / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1943, allocations: 3.953 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.1944, allocations: 19.98 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1948, allocations: 277 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.195, allocations: 62.62 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.1951, allocations: 20.84 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1951, allocations: 0 / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.1953, allocations: 75.25 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.621e-06/0.1953, allocations: 3.984 kB / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005791/0.1959, allocations: 165.3 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1959, allocations: 55.41 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1961, allocations: 186.1 kB / 494.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1961, allocations: 29.7 kB / 494.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.1962, allocations: 100.1 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1962, allocations: 27.64 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1962, allocations: 4 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1964, allocations: 322.8 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.1964, allocations: 19.98 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.1965, allocations: 49.58 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.1966, allocations: 20 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1966, allocations: 0 / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1967, allocations: 97.48 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1968, allocations: 7.984 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1968, allocations: 4 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1968, allocations: 0 / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.1969, allocations: 20.03 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1969, allocations: 384 / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.197, allocations: 7.984 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.197, allocations: 4 kB / 495.1 MB, free: 6.078 MB / 378.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 () * 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.0001016/0.1971, allocations: 121.8 kB / 495.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1971, allocations: 15.86 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.1972, allocations: 16.7 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1972, allocations: 4 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1972, allocations: 0 / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1972, allocations: 7.938 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.1977, allocations: 395.2 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1977, allocations: 4 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1977, allocations: 7.938 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1977, allocations: 4 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1977, allocations: 3.984 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1977, allocations: 0 / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1978, allocations: 4 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.198, allocations: 196.3 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.1981, allocations: 92.88 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1981, allocations: 7.984 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.1982, allocations: 4 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1982, allocations: 7.938 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1983, allocations: 11.98 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1984, allocations: 140.1 kB / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1984, allocations: 0 / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.1986, allocations: 27.98 kB / 496.2 MB, free: 4.926 MB / 378.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) * 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.0009631/0.1996, allocations: 476.3 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1998, allocations: 51.92 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1998, allocations: 4 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.1999, allocations: 31.97 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2002, allocations: 23.97 kB / 496.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.2007, allocations: 268.1 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.201, allocations: 0.7082 MB / 497.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.2011, allocations: 23.42 kB / 497.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2011, allocations: 0 / 497.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of Templates: time 0.003877/0.205, allocations: 1.867 MB / 499.6 MB, free: 1.477 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches