Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000816/0.000816, allocations: 79.7 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.0008396/0.0008396, allocations: 174.3 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.9195/0.9195, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2766/0.2766, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.404e-05, allocations: 6.219 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002047/0.002061, allocations: 1.643 MB / 441.3 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003211, allocations: 1.25 MB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.003264, allocations: 8 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.003445, allocations: 27.78 kB / 442.5 MB, free: 1.281 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.003729, allocations: 87.48 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.003969, allocations: 135.1 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.004096, allocations: 71.77 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.004188, allocations: 15.98 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.004248, allocations: 43.89 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.004338, allocations: 27.91 kB / 442.9 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.004352, allocations: 4 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.004484, allocations: 95.81 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.004541, allocations: 15.92 kB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.004565, allocations: 19.92 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.004778, allocations: 159.5 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00478, allocations: 0 / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.004781, allocations: 0 / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004785, allocations: 0 / 443.2 MB, free: 0.6211 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.0004344/0.005219, allocations: 349.5 kB / 443.5 MB, free: 256 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.005258, allocations: 8.031 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.005288, allocations: 42.67 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.00532, allocations: 8.891 kB / 443.6 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.005483, allocations: 140.2 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.005491, allocations: 384 / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.005512, allocations: 8.328 kB / 443.7 MB, free: 16 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1831/0.1886, allocations: 93.55 kB / 443.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1886, allocations: 5.562 kB / 443.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1886, allocations: 0 / 443.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1886, allocations: 0.5938 kB / 443.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.741e-05/0.1887, allocations: 40.39 kB / 443.9 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.189, allocations: 263.2 kB / 444.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.1891, allocations: 42.72 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.1892, allocations: 23.23 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1892, allocations: 1.312 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1892, allocations: 34.06 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1892, allocations: 1.625 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005341/0.1897, allocations: 214 kB / 444.4 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1898, allocations: 83.67 kB / 444.5 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1899, allocations: 152.6 kB / 444.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.1899, allocations: 29.45 kB / 444.7 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.1899, allocations: 101.6 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1899, allocations: 21.41 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.19, allocations: 22.69 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.19, allocations: 323.3 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1901, allocations: 29.19 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.1901, allocations: 79.25 kB / 445.3 MB, free: 45.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1902, allocations: 79.05 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1902, allocations: 0 / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001441/0.1904, allocations: 117.1 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1904, allocations: 2.875 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1904, allocations: 3.375 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1904, allocations: 2.969 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.1905, allocations: 28.39 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1905, allocations: 3.938 kB / 445.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.1905, allocations: 15.48 kB / 445.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1905, allocations: 2.875 kB / 445.5 MB, free: 45.51 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.975e-05/0.1906, allocations: 116.7 kB / 445.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1906, allocations: 7.016 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.1908, allocations: 127.1 kB / 445.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1908, allocations: 0 / 445.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1908, allocations: 3.938 kB / 445.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1908, allocations: 1.781 kB / 445.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1911, allocations: 360.2 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1911, allocations: 3.312 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.1911, allocations: 21.11 kB / 446.1 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1911, allocations: 3.938 kB / 446.2 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1911, allocations: 0 / 446.2 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1911, allocations: 2.938 kB / 446.2 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1912, allocations: 2.016 kB / 446.2 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1913, allocations: 212.9 kB / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.1913, allocations: 11.84 kB / 446.4 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1913, allocations: 10.78 kB / 446.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.1914, allocations: 13.22 kB / 446.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1914, allocations: 5.844 kB / 446.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1914, allocations: 5.859 kB / 446.4 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.1915, allocations: 117.7 kB / 446.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1915, allocations: 0 / 446.5 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.1917, allocations: 43.22 kB / 446.6 MB, free: 44.86 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.001044/0.1927, allocations: 1.183 MB / 447.7 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1929, allocations: 75.03 kB / 447.8 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1929, allocations: 0 / 447.8 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.193, allocations: 44.22 kB / 447.9 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1932, allocations: 21.44 kB / 447.9 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1943, allocations: 1.598 MB / 449.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.1944, allocations: 82.02 kB / 449.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.1944, allocations: 17.42 kB / 449.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.1945, allocations: 32.42 kB / 449.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1945, allocations: 0 / 449.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.2122, allocations: 4.286 MB / 453.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.896, allocations: 3.984 kB / 453.9 MB, free: 41.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.932725972495973]