Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.0008351/0.0008351, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0009235/0.0009235, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8875/0.8875, allocations: 177 MB / 204.1 MB, free: 5.773 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.2487/0.2487, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.787e-05, allocations: 18.09 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.1928/0.1928, allocations: 1.679 MB / 443.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.1936, allocations: 0.5757 MB / 444.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.1936, allocations: 4.594 kB / 444.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1938, allocations: 30.66 kB / 444.5 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.194, allocations: 82.64 kB / 444.6 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1943, allocations: 184.6 kB / 444.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1944, allocations: 101.2 kB / 444.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.1945, allocations: 17.97 kB / 444.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.1946, allocations: 50.14 kB / 444.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.1946, allocations: 32.34 kB / 444.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1946, allocations: 9.578 kB / 444.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1948, allocations: 96 kB / 445 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1948, allocations: 27.66 kB / 445.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1948, allocations: 23.08 kB / 445.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.195, allocations: 182.3 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.195, allocations: 0 / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.195, allocations: 2.469 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1951, allocations: 0 / 445.3 MB, free: 42.57 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.0003997/0.1955, allocations: 385.1 kB / 445.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1955, allocations: 8.031 kB / 445.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.182e-05/0.1955, allocations: 36.75 kB / 445.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.1955, allocations: 16.66 kB / 445.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1957, allocations: 140.8 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1957, allocations: 384 / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1957, allocations: 3.094 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1959, allocations: 118.9 kB / 446 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1959, allocations: 4.641 kB / 446 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1959, allocations: 3.312 kB / 446 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1959, allocations: 7.594 kB / 446 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.196, allocations: 82.69 kB / 446.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.1964, allocations: 301 kB / 446.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1965, allocations: 77.25 kB / 446.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.1966, allocations: 51.58 kB / 446.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1966, allocations: 3.938 kB / 446.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1967, allocations: 34.06 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.1967, allocations: 0.6562 kB / 446.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000822/0.1975, allocations: 409.6 kB / 446.9 MB, free: 41.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1975, allocations: 80.11 kB / 447 MB, free: 41.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1976, allocations: 171.3 kB / 447.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.1976, allocations: 26.64 kB / 447.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.1977, allocations: 104.2 kB / 447.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1977, allocations: 26.12 kB / 447.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1977, allocations: 32.92 kB / 447.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.992e-05/0.1977, allocations: 328.5 kB / 447.7 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1979, allocations: 81.31 kB / 447.7 MB, free: 40.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.198, allocations: 124.9 kB / 447.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1983, allocations: 168.4 kB / 448 MB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1983, allocations: 0 / 448 MB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003095/0.1986, allocations: 210.5 kB / 448.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1986, allocations: 5.531 kB / 448.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1986, allocations: 0 / 448.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1986, allocations: 0 / 448.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1987, allocations: 41.41 kB / 448.3 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1987, allocations: 7.938 kB / 448.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.1988, allocations: 23.98 kB / 448.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1988, allocations: 2.969 kB / 448.3 MB, free: 40.82 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 (10): * Single equations (assignments): 10 * 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 5.167e-05/0.1989, allocations: 124.8 kB / 448.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.1989, allocations: 17.97 kB / 448.5 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.1992, allocations: 225.3 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1992, allocations: 0 / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1992, allocations: 0 / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1992, allocations: 3.375 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.1997, allocations: 484.7 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1997, allocations: 0 / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.1998, allocations: 35.03 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1998, allocations: 3.422 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1998, allocations: 6.625 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1998, allocations: 9.125 kB / 449.2 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1998, allocations: 7.875 kB / 449.2 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2002, allocations: 294.5 kB / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.2002, allocations: 13.56 kB / 449.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2002, allocations: 6.969 kB / 449.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.2003, allocations: 27.7 kB / 449.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2003, allocations: 20.61 kB / 449.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2003, allocations: 6.875 kB / 449.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.917e-05/0.2004, allocations: 123.7 kB / 449.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2004, allocations: 0 / 449.7 MB, free: 40.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.2006, allocations: 54.2 kB / 449.7 MB, free: 40.12 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 (9): * Single equations (assignments): 9 * 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.00134/0.2019, allocations: 1.26 MB / 451 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.2023, allocations: 174.2 kB / 451.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2023, allocations: 0 / 451.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.2024, allocations: 85.77 kB / 451.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2027, allocations: 30.09 kB / 451.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.2043, allocations: 1.932 MB / 453.2 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.2044, allocations: 102.7 kB / 453.3 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.008e-05/0.2044, allocations: 27.77 kB / 453.3 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.2045, allocations: 42.73 kB / 453.4 MB, free: 37.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2045, allocations: 0 / 453.4 MB, free: 37.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.2227, allocations: 5.237 MB / 458.6 MB, free: 36.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.934, allocations: 8.734 kB / 458.6 MB, free: 36.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.929590024985373]