Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009454, allocations: 102.4 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.0008834/0.0008835, allocations: 185.9 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.515/1.515, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.3767/0.3767, allocations: 43.57 MB / 315 MB, free: 8.785 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.0006238/0.0006236, allocations: 12 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1952, allocations: 58.88 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002951/0.1982, allocations: 1.333 MB / 444.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.2004, allocations: 0.8987 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.2005, allocations: 4 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.2008, allocations: 15.91 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.2011, allocations: 39.84 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.2016, allocations: 103.9 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.2018, allocations: 59.78 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2019, allocations: 12.19 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.202, allocations: 23.91 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2022, allocations: 23.86 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.2023, allocations: 4 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.2025, allocations: 43.91 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2026, allocations: 27.86 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.2027, allocations: 45.56 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.203, allocations: 91.97 kB / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.203, allocations: 0 / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.203, allocations: 0 / 446.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.203, allocations: 4 kB / 446.2 MB, free: 9.91 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.0009453/0.204, allocations: 383.3 kB / 446.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.204, allocations: 12.03 kB / 446.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.2041, allocations: 8.844 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2044, allocations: 184.2 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2045, allocations: 4.375 kB / 446.8 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.2045, allocations: 384 / 446.8 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2048, allocations: 79.33 kB / 446.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.2048, allocations: 0 / 446.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.2049, allocations: 8 kB / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2049, allocations: 0 / 446.8 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.2051, allocations: 39.97 kB / 446.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.2057, allocations: 296.7 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.2059, allocations: 42.56 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.206, allocations: 28.94 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.206, allocations: 0 / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.2061, allocations: 38.56 kB / 447.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.2061, allocations: 0 / 447.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009414/0.207, allocations: 233.5 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.2071, allocations: 81.11 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.2073, allocations: 145.6 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2074, allocations: 25.7 kB / 447.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.2074, allocations: 92.14 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.2075, allocations: 19.64 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.2075, allocations: 17.72 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2077, allocations: 318.8 kB / 448.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2078, allocations: 39.98 kB / 448.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.208, allocations: 61.73 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2082, allocations: 89.06 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2082, allocations: 4 kB / 448.4 MB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000286/0.2085, allocations: 129.5 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2086, allocations: 11.94 kB / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2086, allocations: 0 / 448.5 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2086, allocations: 3.938 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2088, allocations: 23.98 kB / 448.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.2088, allocations: 4 kB / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.2088, allocations: 15.92 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2089, allocations: 7.938 kB / 448.6 MB, free: 7.27 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 (7): * Single equations (assignments): 7 * 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.0001278/0.209, allocations: 117.8 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.209, allocations: 11.91 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.2094, allocations: 133.9 kB / 448.8 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2094, allocations: 8 kB / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2095, allocations: 0 / 448.8 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2095, allocations: 3.938 kB / 448.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.2101, allocations: 398.5 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.2101, allocations: 7.984 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.2102, allocations: 19.98 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2102, allocations: 3.938 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2102, allocations: 7.938 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2103, allocations: 4 kB / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2103, allocations: 0 / 449.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.2106, allocations: 231.4 kB / 449.5 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.2107, allocations: 85 kB / 449.6 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2107, allocations: 7.938 kB / 449.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.2108, allocations: 8 kB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.2109, allocations: 11.98 kB / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2109, allocations: 0 / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.704e-05/0.211, allocations: 115.8 kB / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.211, allocations: 0 / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.2113, allocations: 24 kB / 449.7 MB, free: 5.992 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 (7): * Single equations (assignments): 7 * 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.001263/0.2126, allocations: 442.2 kB / 450.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.213, allocations: 99.91 kB / 450.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.213, allocations: 0 / 450.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2131, allocations: 51.97 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2135, allocations: 19.92 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.2141, allocations: 213.4 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2144, allocations: 0.6965 MB / 451.2 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.139e-05/0.2145, allocations: 7.984 kB / 451.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.2146, allocations: 15.44 kB / 451.3 MB, free: 4.441 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2146, allocations: 3.938 kB / 451.3 MB, free: 4.438 MB / 382.1 MB Notification: Performance of Templates: time 0.00522/0.2198, allocations: 1.401 MB / 452.7 MB, free: 3.035 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches