Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.673/1.673, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 46.93 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.88 kB / 0.4914 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1628, allocations: 65.99 MB / 0.5559 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003518/0.1663, allocations: 1.668 MB / 0.5575 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1675, allocations: 0.5806 MB / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.1676, allocations: 0 / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.1683, allocations: 459.1 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.1688, allocations: 291.3 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1693, allocations: 183 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.1696, allocations: 183.6 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1697, allocations: 8 kB / 0.5591 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1699, allocations: 119.7 kB / 0.5593 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.1702, allocations: 255.5 kB / 0.5595 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1702, allocations: 4 kB / 0.5595 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.1703, allocations: 31.97 kB / 0.5595 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.1704, allocations: 83.69 kB / 0.5596 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1705, allocations: 106.9 kB / 0.5597 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.1709, allocations: 270.6 kB / 0.56 GB, free: 1.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.1709, allocations: 4 kB / 0.56 GB, free: 1.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1709, allocations: 0 / 0.56 GB, free: 1.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.171, allocations: 7.938 kB / 0.56 GB, free: 1.062 MB / 414.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.0008978/0.1719, allocations: 0.6646 MB / 0.5606 GB, free: 356 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1719, allocations: 8.031 kB / 0.5606 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.172, allocations: 52.55 kB / 0.5607 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1724, allocations: 303.1 kB / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1724, allocations: 384 / 0.561 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.1724, allocations: 8.375 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1726, allocations: 59.36 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1726, allocations: 0 / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1727, allocations: 4 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1727, allocations: 3.984 kB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1728, allocations: 43.84 kB / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.1735, allocations: 400.7 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1737, allocations: 50.56 kB / 0.5615 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.1738, allocations: 20.94 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1738, allocations: 8.062 kB / 0.5616 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.1739, allocations: 42.42 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.1739, allocations: 0 / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001041/0.1749, allocations: 320.5 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.175, allocations: 51.41 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.176, allocations: 0.8614 MB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.176, allocations: 29.7 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.1762, allocations: 212.1 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1762, allocations: 27.73 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.1763, allocations: 21.72 kB / 0.5631 GB, free: 13.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1765, allocations: 362.8 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1766, allocations: 39.97 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1768, allocations: 35.97 kB / 0.5635 GB, free: 13.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.177, allocations: 96.77 kB / 0.5636 GB, free: 13.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.177, allocations: 0 / 0.5636 GB, free: 13.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003615/0.1774, allocations: 161.2 kB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1774, allocations: 7.984 kB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1774, allocations: 0 / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1774, allocations: 4 kB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1776, allocations: 19.98 kB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1776, allocations: 4.312 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.1777, allocations: 7.984 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1777, allocations: 0 / 0.5638 GB, free: 12.95 MB / 430.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.0002441/0.1779, allocations: 223.8 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.178, allocations: 47.7 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.1785, allocations: 185.4 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1785, allocations: 0 / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1785, allocations: 7.938 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1785, allocations: 4.281 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.1792, allocations: 0.5061 MB / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1792, allocations: 0 / 0.5647 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/0.1793, allocations: 27.92 kB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1793, allocations: 3.984 kB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1793, allocations: 11.98 kB / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1794, allocations: 0 / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1794, allocations: 0 / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.1798, allocations: 259.1 kB / 0.565 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.1798, allocations: 108.8 kB / 0.5651 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1799, allocations: 0 / 0.5651 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.18, allocations: 11.98 kB / 0.5651 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.18, allocations: 0 / 0.5651 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.18, allocations: 4 kB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000683/0.1807, allocations: 0.655 MB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1807, allocations: 0 / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.181, allocations: 35.88 kB / 0.5658 GB, free: 10.77 MB / 430.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.001765/0.1828, allocations: 418.6 kB / 0.5662 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.1832, allocations: 87.92 kB / 0.5663 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1832, allocations: 0 / 0.5663 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1833, allocations: 47.91 kB / 0.5663 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1838, allocations: 29.11 kB / 0.5664 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.1851, allocations: 0.8299 MB / 0.5672 GB, free: 9.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.1857, allocations: 0.8299 MB / 0.568 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.115e-05/0.1858, allocations: 28.94 kB / 0.568 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1858, allocations: 15.44 kB / 0.568 GB, free: 8.586 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1858, allocations: 0 / 0.568 GB, free: 8.586 MB / 430.1 MB Notification: Performance of Templates: time 0.005974/0.1918, allocations: 1.634 MB / 0.5696 GB, free: 6.957 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.46171486005187]