Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001512/0.001512, allocations: 119.4 kB / 18.46 MB, free: 4.578 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.001657/0.001657, allocations: 209.6 kB / 21.42 MB, free: 1.625 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.464/1.464, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2262/0.2262, allocations: 46.93 MB / 357.8 MB, free: 10.28 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003191/0.003191, allocations: 67.89 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1883, allocations: 65.99 MB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004512/0.1928, allocations: 2.03 MB / 0.5585 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.1954, allocations: 1.372 MB / 0.5599 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1955, allocations: 7.938 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1958, allocations: 59.5 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.1964, allocations: 207.1 kB / 0.5601 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1978, allocations: 0.5949 MB / 0.5607 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.1982, allocations: 327 kB / 0.561 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1984, allocations: 60.7 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.1987, allocations: 143.3 kB / 0.5612 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1989, allocations: 203.3 kB / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.199, allocations: 12 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1991, allocations: 67.92 kB / 0.5615 GB, free: 232 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1993, allocations: 147.5 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1995, allocations: 166.7 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.2, allocations: 401.8 kB / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2, allocations: 0 / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2, allocations: 0 / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.2, allocations: 0 / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001131/0.2011, allocations: 0.8043 MB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2012, allocations: 8.031 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.2015, allocations: 76.55 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.2022, allocations: 476.2 kB / 0.5635 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2022, allocations: 8.375 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.2023, allocations: 12.12 kB / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.2026, allocations: 143.3 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.2027, allocations: 3.953 kB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2027, allocations: 8 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2027, allocations: 0 / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.2029, allocations: 99.86 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.204, allocations: 0.684 MB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.2043, allocations: 117.2 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2044, allocations: 37.83 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.2044, allocations: 7.984 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.2044, allocations: 42.5 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2044, allocations: 0 / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001563/0.206, allocations: 0.558 MB / 0.5652 GB, free: 12.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2061, allocations: 85.11 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2071, allocations: 0.9101 MB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.2072, allocations: 29.7 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2074, allocations: 252.4 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.2075, allocations: 55.53 kB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.2075, allocations: 41.58 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.2077, allocations: 378.7 kB / 0.5668 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2079, allocations: 63.95 kB / 0.5669 GB, free: 10.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2081, allocations: 79.64 kB / 0.567 GB, free: 10.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.2085, allocations: 153.6 kB / 0.5671 GB, free: 10.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.2085, allocations: 0 / 0.5671 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005295/0.209, allocations: 261.1 kB / 0.5674 GB, free: 9.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.209, allocations: 4 kB / 0.5674 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2091, allocations: 0 / 0.5674 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2091, allocations: 0 / 0.5674 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2093, allocations: 35.97 kB / 0.5674 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2093, allocations: 7.938 kB / 0.5674 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2094, allocations: 11.98 kB / 0.5674 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2094, allocations: 12 kB / 0.5674 GB, free: 9.832 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002468/0.2097, allocations: 215.9 kB / 0.5676 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2098, allocations: 59.62 kB / 0.5677 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/0.2105, allocations: 295.4 kB / 0.568 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2105, allocations: 3.984 kB / 0.568 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2105, allocations: 0 / 0.568 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2105, allocations: 4.109 kB / 0.568 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.2117, allocations: 0.802 MB / 0.5688 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2117, allocations: 0 / 0.5688 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2119, allocations: 47.91 kB / 0.5688 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2119, allocations: 0 / 0.5688 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2119, allocations: 0 / 0.5688 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.2119, allocations: 7.938 kB / 0.5688 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2119, allocations: 0 / 0.5688 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.2125, allocations: 422.3 kB / 0.5692 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2126, allocations: 140.7 kB / 0.5694 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.2127, allocations: 11.98 kB / 0.5694 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2128, allocations: 7.938 kB / 0.5694 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.2129, allocations: 19.97 kB / 0.5694 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2129, allocations: 4 kB / 0.5694 GB, free: 7.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000754/0.2137, allocations: 0.663 MB / 0.5701 GB, free: 7.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2137, allocations: 0 / 0.5701 GB, free: 7.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.214, allocations: 59.94 kB / 0.5701 GB, free: 6.984 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001499/0.2155, allocations: 408.1 kB / 0.5705 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.216, allocations: 151.8 kB / 0.5706 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.216, allocations: 4 kB / 0.5707 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.2162, allocations: 84.36 kB / 0.5707 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.2168, allocations: 84.25 kB / 0.5708 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.2183, allocations: 0.971 MB / 0.5718 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.2188, allocations: 0.8692 MB / 0.5726 GB, free: 4.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2189, allocations: 39.42 kB / 0.5726 GB, free: 4.484 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2189, allocations: 4 kB / 0.5727 GB, free: 4.48 MB / 430.1 MB Notification: Performance of Templates: time 0.009409/0.2283, allocations: 5.859 MB / 0.5784 GB, free: 14.63 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 8.381863857997814]