Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.000868/0.000868, 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.001035/0.001035, 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.9006/0.9006, 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.2466/0.2466, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.378e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002046/0.00206, allocations: 1.594 MB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1716/0.1737, allocations: 0.5244 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.1738, allocations: 3.938 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.174, allocations: 30.14 kB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1743, allocations: 83 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1745, allocations: 105.6 kB / 444.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.1746, allocations: 74.94 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.1747, allocations: 10.28 kB / 444.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.1747, allocations: 30.41 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.1748, allocations: 15.41 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1748, allocations: 4.5 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.058e-05/0.1749, allocations: 35.86 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.1749, allocations: 17.56 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1749, allocations: 9.969 kB / 444.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1751, allocations: 83.78 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1751, allocations: 2.844 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1751, allocations: 0.7188 kB / 444.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1751, allocations: 0 / 444.8 MB, free: 43.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003256/0.1754, allocations: 308.2 kB / 445.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1754, allocations: 10.25 kB / 445.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.1754, allocations: 36.81 kB / 445.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.1755, allocations: 11.84 kB / 445.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1756, allocations: 125.6 kB / 445.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1756, allocations: 10.16 kB / 445.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1756, allocations: 6.734 kB / 445.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1757, allocations: 45.36 kB / 445.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1757, allocations: 4.125 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1757, allocations: 6.906 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1757, allocations: 3.281 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.535e-05/0.1758, allocations: 24.86 kB / 445.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.176, allocations: 250.3 kB / 445.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1762, allocations: 46 kB / 445.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.1762, allocations: 16.94 kB / 445.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1762, allocations: 0 / 445.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.1762, allocations: 41.28 kB / 445.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1762, allocations: 0 / 445.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003617/0.1766, allocations: 151.2 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1766, allocations: 51.41 kB / 445.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.1767, allocations: 158.8 kB / 446.1 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.1767, allocations: 29.7 kB / 446.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.1767, allocations: 94.98 kB / 446.2 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1767, allocations: 22.67 kB / 446.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.1768, allocations: 15.59 kB / 446.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.1768, allocations: 324.4 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.1768, allocations: 20.58 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.1769, allocations: 21.08 kB / 446.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.684e-05/0.1769, allocations: 55.86 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1769, allocations: 4 kB / 446.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.231e-05/0.177, allocations: 83.28 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.177, allocations: 5.688 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.177, allocations: 0 / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1771, allocations: 3.375 kB / 446.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/0.1771, allocations: 20.03 kB / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.1771, allocations: 0 / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1771, allocations: 5.922 kB / 446.8 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1771, allocations: 7 kB / 446.8 MB, free: 41.57 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 4.17e-05/0.1772, allocations: 116.9 kB / 446.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.1772, allocations: 9.203 kB / 446.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1773, allocations: 99.92 kB / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.1773, allocations: 0 / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1773, allocations: 0 / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1773, allocations: 3.938 kB / 447 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1775, allocations: 328.6 kB / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1775, allocations: 4 kB / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.1776, allocations: 14.06 kB / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1776, allocations: 0 / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1776, allocations: 0 / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1776, allocations: 0 / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1776, allocations: 2.719 kB / 447.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.608e-05/0.1777, allocations: 189.2 kB / 447.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-06/0.1777, allocations: 6.859 kB / 447.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.1777, allocations: 0 / 447.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.1777, allocations: 6.531 kB / 447.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.1777, allocations: 12.41 kB / 447.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1777, allocations: 6.625 kB / 447.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.1778, allocations: 112.4 kB / 447.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1778, allocations: 0 / 447.7 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.1779, allocations: 21.66 kB / 447.7 MB, free: 40.91 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.0007704/0.1787, allocations: 1.035 MB / 448.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1788, allocations: 53.41 kB / 448.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1788, allocations: 0 / 448.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.1789, allocations: 28.75 kB / 448.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1791, allocations: 25.77 kB / 448.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.1799, allocations: 1.463 MB / 450.3 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.1799, allocations: 78.91 kB / 450.4 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.768e-05/0.18, allocations: 15.33 kB / 450.4 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.18, allocations: 25.31 kB / 450.4 MB, free: 38.92 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.18, allocations: 0 / 450.4 MB, free: 38.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.193, allocations: 3.279 MB / 453.7 MB, free: 37.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/6.689, allocations: 14.73 kB / 453.7 MB, free: 37.61 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.653626775369048]