Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007006/0.007006, allocations: 101.1 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 192.5 kB / 16.79 MB, free: 6.242 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.668/1.668, allocations: 205.1 MB / 222.6 MB, free: 4.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.3916/0.3916, allocations: 43.5 MB / 313.5 MB, free: 8.539 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.002282/0.002282, allocations: 70.56 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1859, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004964/0.1909, allocations: 1.756 MB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1926, allocations: 0.7962 MB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1928, allocations: 0 / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.1932, allocations: 35.89 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1935, allocations: 39.84 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1939, allocations: 79.86 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.1942, allocations: 87.73 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1943, allocations: 16.22 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.1944, allocations: 39.73 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1946, allocations: 31.78 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1946, allocations: 8 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1948, allocations: 35.98 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.1949, allocations: 11.98 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.195, allocations: 35.72 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1953, allocations: 103.9 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.1953, allocations: 4 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1953, allocations: 0 / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1953, allocations: 0 / 442.9 MB, free: 11.73 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.0007412/0.1961, allocations: 403 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1961, allocations: 16.03 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.1962, allocations: 8.844 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1966, allocations: 200.7 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1966, allocations: 3.938 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1966, allocations: 11.94 kB / 443.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1968, allocations: 53.61 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1969, allocations: 0 / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1969, allocations: 7.984 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1969, allocations: 4 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.197, allocations: 19.98 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.1975, allocations: 280.8 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1978, allocations: 58.62 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.1978, allocations: 20.84 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1979, allocations: 0 / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.1982, allocations: 71.39 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1982, allocations: 0 / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006572/0.1989, allocations: 173.2 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.1989, allocations: 59.33 kB / 444.3 MB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1991, allocations: 158.4 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1991, allocations: 25.7 kB / 444.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1992, allocations: 104.1 kB / 444.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1992, allocations: 23.66 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1993, allocations: 25.7 kB / 444.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1994, allocations: 322.8 kB / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.675e-05/0.1994, allocations: 16 kB / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.1995, allocations: 37.64 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1997, allocations: 65.7 kB / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1997, allocations: 0 / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002088/0.1999, allocations: 93.53 kB / 445.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1999, allocations: 7.938 kB / 445.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1999, allocations: 4.375 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1999, allocations: 3.938 kB / 445.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2001, allocations: 19.98 kB / 445.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2001, allocations: 4 kB / 445.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.2001, allocations: 4 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2002, allocations: 8.188 kB / 445.2 MB, free: 9.227 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.0001162/0.2003, allocations: 121.8 kB / 445.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.2003, allocations: 15.81 kB / 445.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.2004, allocations: 24.64 kB / 445.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2004, allocations: 0 / 445.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2004, allocations: 192 / 445.3 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2004, allocations: 3.984 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.2009, allocations: 395.2 kB / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2009, allocations: 0 / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.201, allocations: 8 kB / 445.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.201, allocations: 0 / 445.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.201, allocations: 4 kB / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.201, allocations: 0 / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.201, allocations: 0 / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.2013, allocations: 208.2 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.2013, allocations: 89 kB / 446 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.2014, allocations: 7.938 kB / 446 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.2014, allocations: 4 kB / 446 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.2015, allocations: 7.984 kB / 446 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2015, allocations: 0 / 446 MB, free: 8.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.2016, allocations: 127.9 kB / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2017, allocations: 0 / 446.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.2019, allocations: 24 kB / 446.2 MB, free: 8.102 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.001199/0.2032, allocations: 472.8 kB / 446.6 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.2034, allocations: 59.84 kB / 446.7 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2034, allocations: 4.062 kB / 446.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.2035, allocations: 31.98 kB / 446.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.2039, allocations: 19.98 kB / 446.8 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.2044, allocations: 232.5 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2047, allocations: 0.7004 MB / 447.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.696e-05/0.2048, allocations: 33.09 kB / 447.7 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.2048, allocations: 15.44 kB / 447.7 MB, free: 6.527 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2049, allocations: 4 kB / 447.7 MB, free: 6.523 MB / 382.1 MB Notification: Performance of Templates: time 0.00488/0.2097, allocations: 1.615 MB / 449.3 MB, free: 4.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches