Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 96.14 kB / 15.87 MB, free: 16 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.001429/0.001429, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.618/1.618, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.3858/0.3858, allocations: 43.49 MB / 313.5 MB, free: 8.492 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.001547/0.001547, allocations: 72.45 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1847, allocations: 57.79 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.004788/0.1895, allocations: 1.668 MB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000733/0.1903, allocations: 319.6 kB / 441.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.1903, allocations: 4 kB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.191, allocations: 443.2 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1913, allocations: 255.5 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1916, allocations: 107.8 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1918, allocations: 147.7 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.192, allocations: 16.17 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1921, allocations: 107.7 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1924, allocations: 203.6 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1924, allocations: 0 / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.749e-05/0.1925, allocations: 31.98 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1926, allocations: 83.62 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1927, allocations: 95.06 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.1931, allocations: 247.2 kB / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1931, allocations: 0 / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1931, allocations: 0 / 443.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1931, allocations: 0 / 443.5 MB, free: 11.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009862/0.1941, allocations: 0.6336 MB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1942, allocations: 12.03 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.1942, allocations: 40.47 kB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1946, allocations: 296.1 kB / 444.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1946, allocations: 4.375 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1946, allocations: 4.375 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1948, allocations: 53.62 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1948, allocations: 0 / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1949, allocations: 4 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1949, allocations: 0 / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.195, allocations: 31.97 kB / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.1956, allocations: 384.6 kB / 444.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1958, allocations: 38.56 kB / 445 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.1959, allocations: 16.86 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1959, allocations: 4 kB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.196, allocations: 30.56 kB / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.196, allocations: 0 / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006785/0.1966, allocations: 224 kB / 445.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1967, allocations: 55.39 kB / 445.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007952/0.1975, allocations: 0.8651 MB / 446.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.1975, allocations: 29.7 kB / 446.2 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1977, allocations: 216.1 kB / 446.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1977, allocations: 15.86 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.1978, allocations: 21.72 kB / 446.4 MB, free: 8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.198, allocations: 358.8 kB / 446.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.198, allocations: 11.98 kB / 446.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.1981, allocations: 19.98 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1982, allocations: 52.83 kB / 446.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1983, allocations: 3.938 kB / 446.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002577/0.1985, allocations: 113.1 kB / 447 MB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1985, allocations: 4 kB / 447 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1986, allocations: 7.922 kB / 447 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.1986, allocations: 0 / 447 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.1987, allocations: 11.94 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1987, allocations: 8 kB / 447 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.1987, allocations: 12.2 kB / 447 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1987, allocations: 4 kB / 447 MB, free: 7.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001867/0.1989, allocations: 213.7 kB / 447.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.199, allocations: 35.53 kB / 447.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.1993, allocations: 153.1 kB / 447.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1993, allocations: 4 kB / 447.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1993, allocations: 0 / 447.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1993, allocations: 3.938 kB / 447.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1998, allocations: 454.4 kB / 447.9 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1999, allocations: 0 / 447.9 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.1999, allocations: 11.98 kB / 447.9 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1999, allocations: 0 / 447.9 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1999, allocations: 7.938 kB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1999, allocations: 4 kB / 447.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2, allocations: 0 / 447.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.2002, allocations: 207 kB / 448.1 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2003, allocations: 108.5 kB / 448.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.2004, allocations: 7.922 kB / 448.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.2005, allocations: 8 kB / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2005, allocations: 8 kB / 448.2 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2005, allocations: 3.984 kB / 448.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006739/0.2012, allocations: 0.6472 MB / 448.9 MB, free: 5.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2012, allocations: 0 / 448.9 MB, free: 5.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000256/0.2015, allocations: 20 kB / 448.9 MB, free: 5.406 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001082/0.2026, allocations: 403 kB / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.2028, allocations: 51.91 kB / 449.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2028, allocations: 0 / 449.4 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.2029, allocations: 23.98 kB / 449.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2034, allocations: 29.23 kB / 449.4 MB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2048, allocations: 0.8515 MB / 450.3 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.2053, allocations: 0.8262 MB / 451.1 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.2053, allocations: 7.984 kB / 451.1 MB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2054, allocations: 11.44 kB / 451.1 MB, free: 3.188 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2054, allocations: 0 / 451.1 MB, free: 3.188 MB / 382.1 MB Notification: Performance of Templates: time 0.005936/0.2113, allocations: 1.401 MB / 452.5 MB, free: 1.785 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches