Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0008661/0.0008661, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001087/0.001087, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9247/0.9247, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.235/0.235, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.411e-05, allocations: 2.844 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002331/0.002355, allocations: 1.676 MB / 441.3 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.003126, allocations: 0.5491 MB / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.003195, allocations: 0 / 441.8 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.003605, allocations: 447.1 kB / 442.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.004025, allocations: 299.1 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.004334, allocations: 139.3 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.004563, allocations: 179.6 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004666, allocations: 12.22 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.004776, allocations: 123.7 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.004953, allocations: 247.5 kB / 443.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004969, allocations: 8 kB / 443.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.00506, allocations: 55.91 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.005155, allocations: 83.66 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.005192, allocations: 47.72 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.005428, allocations: 259 kB / 443.7 MB, free: 120 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00543, allocations: 7.938 kB / 443.7 MB, free: 112 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005431, allocations: 0 / 443.7 MB, free: 112 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005436, allocations: 0 / 443.7 MB, free: 112 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1937/0.1992, allocations: 0.5936 MB / 444.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1992, allocations: 11.25 kB / 444.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.1993, allocations: 35.66 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.1993, allocations: 47.84 kB / 444.4 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1995, allocations: 247.1 kB / 444.6 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1995, allocations: 4.625 kB / 444.6 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1995, allocations: 4.625 kB / 444.6 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1996, allocations: 63.2 kB / 444.7 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1996, allocations: 0.75 kB / 444.7 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.1997, allocations: 3.156 kB / 444.7 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1997, allocations: 9.75 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.1997, allocations: 40.28 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.2001, allocations: 360.5 kB / 445.1 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.2003, allocations: 63.03 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.2003, allocations: 26.69 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2003, allocations: 0 / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.126e-05/0.2003, allocations: 36.88 kB / 445.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.2003, allocations: 0.5625 kB / 445.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008427/0.2012, allocations: 481.2 kB / 445.7 MB, free: 45.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.2012, allocations: 54.12 kB / 445.7 MB, free: 45.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.2017, allocations: 0.8709 MB / 446.6 MB, free: 45.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.2017, allocations: 28.77 kB / 446.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.2018, allocations: 216.8 kB / 446.9 MB, free: 45.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2018, allocations: 48.89 kB / 446.9 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.2018, allocations: 25.89 kB / 446.9 MB, free: 45.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.2019, allocations: 364.3 kB / 447.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.202, allocations: 41.33 kB / 447.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.2021, allocations: 50.48 kB / 447.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.2022, allocations: 97.02 kB / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2022, allocations: 0 / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001869/0.2024, allocations: 174.7 kB / 447.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2024, allocations: 5.781 kB / 447.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2024, allocations: 7.078 kB / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2024, allocations: 0 / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.2025, allocations: 22.89 kB / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.2025, allocations: 8.953 kB / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2025, allocations: 8.891 kB / 447.7 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2025, allocations: 6.812 kB / 447.7 MB, free: 44.75 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 (11): * Single equations (assignments): 11 * 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.0001162/0.2027, allocations: 220.9 kB / 447.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.2027, allocations: 48.02 kB / 448 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.2029, allocations: 210.7 kB / 448.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2029, allocations: 0 / 448.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2029, allocations: 0 / 448.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2029, allocations: 6.219 kB / 448.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.2034, allocations: 0.5271 MB / 448.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2034, allocations: 6.469 kB / 448.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.2034, allocations: 26.69 kB / 448.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2034, allocations: 0 / 448.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.2034, allocations: 10.81 kB / 448.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2034, allocations: 3.031 kB / 448.7 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2034, allocations: 3.125 kB / 448.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.2036, allocations: 284.5 kB / 449 MB, free: 43.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.2036, allocations: 42.08 kB / 449.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2037, allocations: 10.81 kB / 449.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.2037, allocations: 8.844 kB / 449.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.2038, allocations: 12.08 kB / 449.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2038, allocations: 7.281 kB / 449.1 MB, free: 43.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.2041, allocations: 0.6525 MB / 449.8 MB, free: 43.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2041, allocations: 0.9375 kB / 449.8 MB, free: 43.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.2043, allocations: 33.34 kB / 449.8 MB, free: 43.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001057/0.2054, allocations: 1.21 MB / 451 MB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.2056, allocations: 100.4 kB / 451.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2056, allocations: 2.719 kB / 451.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.2056, allocations: 56.88 kB / 451.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.206, allocations: 34.27 kB / 451.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2083, allocations: 3.459 MB / 454.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.2084, allocations: 234.2 kB / 454.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.2084, allocations: 19.45 kB / 454.9 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.2085, allocations: 115 kB / 455 MB, free: 40.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2085, allocations: 192 / 455 MB, free: 40.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.2276, allocations: 7.24 MB / 462.3 MB, free: 39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.968, allocations: 16.48 kB / 462.3 MB, free: 39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 9.007688760757446]