Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008402/0.0008402, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008612/0.0008612, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8886/0.8886, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 442.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.99e-05, allocations: 2.281 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.1954/0.1955, allocations: 1.653 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008309/0.1963, allocations: 0.5598 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.1963, allocations: 2.781 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.1967, allocations: 455 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1971, allocations: 290.8 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.1975, allocations: 190 kB / 445.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1976, allocations: 179.3 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1977, allocations: 8.656 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.1978, allocations: 123.3 kB / 445.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.198, allocations: 237.2 kB / 445.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.198, allocations: 2.625 kB / 445.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.1981, allocations: 40.11 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.1982, allocations: 88.14 kB / 446 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.1982, allocations: 35.28 kB / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1984, allocations: 252.7 kB / 446.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1984, allocations: 0 / 446.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1984, allocations: 4 kB / 446.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1984, allocations: 0 / 446.3 MB, free: 42.98 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.0004401/0.1988, allocations: 0.5848 MB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1989, allocations: 8 kB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.208e-05/0.1989, allocations: 36.5 kB / 446.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.1989, allocations: 52.3 kB / 446.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1991, allocations: 239.5 kB / 447.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.1991, allocations: 4.359 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1991, allocations: 3.406 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1992, allocations: 63.81 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1992, allocations: 4.188 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1992, allocations: 3.344 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1992, allocations: 4.125 kB / 447.2 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.652e-05/0.1993, allocations: 33.91 kB / 447.3 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.1996, allocations: 358.4 kB / 447.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1998, allocations: 49.47 kB / 447.7 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.1998, allocations: 18.52 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1998, allocations: 0 / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.1998, allocations: 37.44 kB / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1998, allocations: 0 / 447.7 MB, free: 41.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003922/0.2002, allocations: 252.3 kB / 448 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.2002, allocations: 54.31 kB / 448 MB, free: 41.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.2007, allocations: 0.87 MB / 448.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.2007, allocations: 29.7 kB / 448.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.2008, allocations: 230.7 kB / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.2008, allocations: 14.33 kB / 449.2 MB, free: 41.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.2008, allocations: 22.25 kB / 449.2 MB, free: 41.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.2009, allocations: 364.9 kB / 449.5 MB, free: 41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.2009, allocations: 22 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.295e-05/0.2009, allocations: 21.61 kB / 449.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.562e-05/0.201, allocations: 57.8 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.201, allocations: 2.75 kB / 449.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.2011, allocations: 126.8 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2011, allocations: 5.656 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2011, allocations: 0 / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2012, allocations: 0 / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.271e-05/0.2012, allocations: 14.66 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2012, allocations: 0 / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.2012, allocations: 7.031 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2012, allocations: 5.5 kB / 449.8 MB, free: 40.89 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 (5): * Single equations (assignments): 5 * 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 9.989e-05/0.2013, allocations: 218 kB / 450 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.2014, allocations: 44.09 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.2015, allocations: 146.2 kB / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2015, allocations: 0 / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2016, allocations: 0 / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2016, allocations: 6.484 kB / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.2019, allocations: 441.3 kB / 450.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2019, allocations: 0 / 450.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.2019, allocations: 18.34 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2019, allocations: 4 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2019, allocations: 0 / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2019, allocations: 2.688 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2019, allocations: 0 / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.202, allocations: 226 kB / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.202, allocations: 36.5 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2021, allocations: 3.344 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.2021, allocations: 6.25 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.2021, allocations: 2.938 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2021, allocations: 7.234 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003141/0.2024, allocations: 0.6711 MB / 451.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2024, allocations: 0 / 451.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.2026, allocations: 20.91 kB / 451.6 MB, free: 39.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 (5): * Single equations (assignments): 5 * 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.0008405/0.2034, allocations: 1.071 MB / 452.7 MB, free: 39.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.2036, allocations: 48.14 kB / 452.8 MB, free: 39.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2036, allocations: 7.938 kB / 452.8 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.2036, allocations: 30.31 kB / 452.8 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2039, allocations: 25.38 kB / 452.8 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.2058, allocations: 3.292 MB / 456.1 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.206, allocations: 229.8 kB / 456.3 MB, free: 37.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.686e-05/0.206, allocations: 19 kB / 456.3 MB, free: 37.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.2061, allocations: 114.6 kB / 456.5 MB, free: 37.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2061, allocations: 0 / 456.5 MB, free: 37.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.2285, allocations: 6.786 MB / 463.2 MB, free: 35.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.931, allocations: 2.75 kB / 463.2 MB, free: 35.39 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.965775751508772]