Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009722/0.0009722, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001049/0.001049, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8819/0.8819, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2258/0.2258, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.143e-05, allocations: 2.984 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.1774/0.1774, allocations: 1.648 MB / 443.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1786, allocations: 1.248 MB / 445.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.1786, allocations: 4.5 kB / 445.1 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1788, allocations: 22.75 kB / 445.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.179, allocations: 89.62 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.1792, allocations: 130.5 kB / 445.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1794, allocations: 75.69 kB / 445.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.1794, allocations: 22.06 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.1795, allocations: 36.3 kB / 445.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.1796, allocations: 28.17 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1796, allocations: 2.844 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1797, allocations: 95.84 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1798, allocations: 20.58 kB / 445.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1798, allocations: 23.44 kB / 445.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.18, allocations: 163 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.18, allocations: 2.938 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.18, allocations: 0 / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.18, allocations: 0 / 445.8 MB, free: 42.55 MB / 410.7 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.0003702/0.1803, allocations: 343.3 kB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1804, allocations: 9.062 kB / 446.1 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.11e-05/0.1804, allocations: 36.92 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1804, allocations: 7.891 kB / 446.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1806, allocations: 133.7 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1806, allocations: 6.562 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1806, allocations: 3.25 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1807, allocations: 103.5 kB / 446.4 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1807, allocations: 4.125 kB / 446.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1807, allocations: 7.875 kB / 446.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1807, allocations: 0 / 446.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.1808, allocations: 35 kB / 446.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.181, allocations: 268.4 kB / 446.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.672e-05/0.1811, allocations: 45.98 kB / 446.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.1811, allocations: 23.75 kB / 446.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1812, allocations: 3.422 kB / 446.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.1812, allocations: 30.56 kB / 446.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1812, allocations: 0 / 446.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004726/0.1817, allocations: 221 kB / 447.1 MB, free: 41.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.1817, allocations: 79.64 kB / 447.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.1818, allocations: 152.5 kB / 447.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.1818, allocations: 29.27 kB / 447.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.1818, allocations: 93.59 kB / 447.4 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1818, allocations: 22.33 kB / 447.4 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.1818, allocations: 28.89 kB / 447.4 MB, free: 41.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.697e-05/0.1819, allocations: 324.8 kB / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.1819, allocations: 27.27 kB / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.182, allocations: 82.66 kB / 447.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1821, allocations: 72.92 kB / 447.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1821, allocations: 4.031 kB / 447.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001359/0.1822, allocations: 112.3 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1822, allocations: 5.344 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1822, allocations: 0 / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1823, allocations: 0 / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.1823, allocations: 23.17 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1823, allocations: 0 / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.1824, allocations: 12.72 kB / 448.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1824, allocations: 11.86 kB / 448.1 MB, free: 40.84 MB / 410.7 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 4.388e-05/0.1824, allocations: 119.7 kB / 448.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.1824, allocations: 9.516 kB / 448.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.1826, allocations: 121.5 kB / 448.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1826, allocations: 5.875 kB / 448.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1826, allocations: 0 / 448.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1826, allocations: 4 kB / 448.4 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1829, allocations: 365.1 kB / 448.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1829, allocations: 0 / 448.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.183, allocations: 17.45 kB / 448.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.183, allocations: 2.625 kB / 448.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.183, allocations: 1.312 kB / 448.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.183, allocations: 0 / 448.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.183, allocations: 11.31 kB / 448.8 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1831, allocations: 215.8 kB / 449 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.1831, allocations: 13.77 kB / 449 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1831, allocations: 2.688 kB / 449 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.1832, allocations: 8.672 kB / 449 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1832, allocations: 10.69 kB / 449 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1832, allocations: 6.281 kB / 449 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.1833, allocations: 113.7 kB / 449.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1833, allocations: 4 kB / 449.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.1835, allocations: 39.61 kB / 449.2 MB, free: 40.17 MB / 410.7 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.000992/0.1845, allocations: 1.185 MB / 450.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1846, allocations: 73.88 kB / 450.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1846, allocations: 4 kB / 450.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.1847, allocations: 44.67 kB / 450.5 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.185, allocations: 24.89 kB / 450.5 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1861, allocations: 1.59 MB / 452.1 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.1861, allocations: 80 kB / 452.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.173e-05/0.1862, allocations: 16.59 kB / 452.2 MB, free: 38.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.1862, allocations: 35.52 kB / 452.2 MB, free: 37.99 MB / 410.7 MB Notification: Performance of SimCode: time 5.92e-07/0.1862, allocations: 0 / 452.2 MB, free: 37.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.2015, allocations: 4.294 MB / 456.5 MB, free: 36.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.808, allocations: 0 / 456.5 MB, free: 36.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.721302807331085]