Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001264/0.001264, 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.0008493/0.0008493, 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.9013/0.9013, 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.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.2479/0.2479, allocations: 32.79 MB / 293.5 MB, free: 1.25 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.294e-05, allocations: 5.234 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003055/0.003078, allocations: 1.669 MB / 441.3 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.003824, allocations: 0.5607 MB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.003891, allocations: 0 / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.00432, allocations: 459 kB / 442.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.004715, allocations: 295.2 kB / 442.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.005092, allocations: 188.9 kB / 442.8 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.005326, allocations: 175.6 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005435, allocations: 20.2 kB / 443 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.005547, allocations: 119.8 kB / 443.1 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.005734, allocations: 251.5 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.005751, allocations: 4 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.005848, allocations: 51.92 kB / 443.4 MB, free: 476 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.005931, allocations: 91.64 kB / 443.5 MB, free: 384 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.005973, allocations: 43.73 kB / 443.5 MB, free: 340 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.006229, allocations: 263 kB / 443.8 MB, free: 76 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006232, allocations: 0 / 443.8 MB, free: 76 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006234, allocations: 0 / 443.8 MB, free: 76 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006239, allocations: 0 / 443.8 MB, free: 76 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.1652/0.1714, allocations: 0.5901 MB / 444.4 MB, free: 46.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1715, allocations: 8.281 kB / 444.4 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.1715, allocations: 38.75 kB / 444.4 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1715, allocations: 46.31 kB / 444.4 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1717, allocations: 250.3 kB / 444.7 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1717, allocations: 2.5 kB / 444.7 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1717, allocations: 4.562 kB / 444.7 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1718, allocations: 59.62 kB / 444.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1718, allocations: 1.625 kB / 444.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1718, allocations: 4.281 kB / 444.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1718, allocations: 4.812 kB / 444.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.1719, allocations: 31.72 kB / 444.8 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.1722, allocations: 376.8 kB / 445.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.1723, allocations: 51.77 kB / 445.2 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.1723, allocations: 16.16 kB / 445.2 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1723, allocations: 4.312 kB / 445.2 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.1724, allocations: 30.56 kB / 445.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1724, allocations: 0 / 445.3 MB, free: 45.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.1729, allocations: 339.3 kB / 445.6 MB, free: 45.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.173, allocations: 51.41 kB / 445.6 MB, free: 45.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.1734, allocations: 0.8786 MB / 446.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.1734, allocations: 26.69 kB / 446.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.1735, allocations: 226.6 kB / 446.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1735, allocations: 29.31 kB / 446.8 MB, free: 45.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.1735, allocations: 22.69 kB / 446.8 MB, free: 45.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.1736, allocations: 365.5 kB / 447.2 MB, free: 44.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1736, allocations: 33.83 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.1736, allocations: 34.89 kB / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/0.1737, allocations: 81.39 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1737, allocations: 3.375 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000123/0.1739, allocations: 157.9 kB / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1739, allocations: 5.281 kB / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1739, allocations: 0 / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1739, allocations: 3.312 kB / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.174, allocations: 19.75 kB / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.174, allocations: 2.719 kB / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.174, allocations: 5.812 kB / 447.5 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.174, allocations: 2.688 kB / 447.5 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 (8): * Single equations (assignments): 8 * 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.731e-05/0.1741, allocations: 221 kB / 447.7 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1741, allocations: 42.91 kB / 447.8 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.1743, allocations: 172.8 kB / 447.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1743, allocations: 2.594 kB / 448 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1743, allocations: 3.938 kB / 448 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1743, allocations: 5.719 kB / 448 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.1746, allocations: 493.9 kB / 448.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1747, allocations: 3.328 kB / 448.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1747, allocations: 20.84 kB / 448.5 MB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1747, allocations: 0 / 448.5 MB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1747, allocations: 2.75 kB / 448.5 MB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1747, allocations: 3.938 kB / 448.5 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1747, allocations: 0.7812 kB / 448.5 MB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.1748, allocations: 247.3 kB / 448.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.1748, allocations: 46.34 kB / 448.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1749, allocations: 0 / 448.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.1749, allocations: 11.88 kB / 448.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1749, allocations: 7.281 kB / 448.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.1749, allocations: 6.938 kB / 448.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.1752, allocations: 0.6618 MB / 449.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1752, allocations: 0 / 449.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.1754, allocations: 34.67 kB / 449.5 MB, free: 43.68 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.0008632/0.1763, allocations: 1.165 MB / 450.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.1764, allocations: 76.47 kB / 450.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1764, allocations: 3.969 kB / 450.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.1765, allocations: 39.06 kB / 450.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.1767, allocations: 33.97 kB / 450.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1786, allocations: 3.399 MB / 454.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.1787, allocations: 230.4 kB / 454.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.908e-05/0.1788, allocations: 24.2 kB / 454.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.1789, allocations: 126.6 kB / 454.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1789, allocations: 0 / 454.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.195, allocations: 7.142 MB / 461.7 MB, free: 39.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.896, allocations: 9.984 kB / 461.7 MB, free: 39.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.885717952623963]