Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 106.5 kB / 16.46 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 196.1 kB / 17.4 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 207.6 MB / 225.8 MB, free: 11.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4087/0.4087, allocations: 44.25 MB / 319.9 MB, free: 12.85 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 78.22 kB / 453.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1826, allocations: 61.01 MB / 0.5025 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.005785/0.1884, allocations: 1.553 MB / 0.504 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1905, allocations: 0.9417 MB / 0.5049 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.1906, allocations: 0 / 0.5049 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1909, allocations: 27.84 kB / 0.5049 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1911, allocations: 43.83 kB / 0.505 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1915, allocations: 75.78 kB / 0.505 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1917, allocations: 55.84 kB / 0.5051 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1918, allocations: 15.98 kB / 0.5051 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.1919, allocations: 27.84 kB / 0.5051 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1921, allocations: 23.86 kB / 0.5052 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1921, allocations: 4 kB / 0.5052 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1923, allocations: 51.95 kB / 0.5052 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.1923, allocations: 8 kB / 0.5052 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.1924, allocations: 27.8 kB / 0.5052 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1927, allocations: 87.64 kB / 0.5053 GB, free: 9.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1927, allocations: 0 / 0.5053 GB, free: 9.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1927, allocations: 4 kB / 0.5053 GB, free: 9.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1927, allocations: 4 kB / 0.5053 GB, free: 9.059 MB / 398.1 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.0007169/0.1934, allocations: 375 kB / 0.5057 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.1935, allocations: 11.89 kB / 0.5057 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.1936, allocations: 34.73 kB / 0.5057 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1936, allocations: 8.891 kB / 0.5058 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1939, allocations: 184.3 kB / 0.5059 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.194, allocations: 384 / 0.5059 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.194, allocations: 4.375 kB / 0.5059 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.1942, allocations: 75.33 kB / 0.506 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.1943, allocations: 3.938 kB / 0.506 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1943, allocations: 0 / 0.506 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1943, allocations: 0 / 0.506 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1944, allocations: 19.98 kB / 0.506 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.1949, allocations: 276.9 kB / 0.5063 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1953, allocations: 50.44 kB / 0.5063 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.1953, allocations: 16.94 kB / 0.5064 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1954, allocations: 0 / 0.5064 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.1954, allocations: 34.56 kB / 0.5064 GB, free: 7.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1954, allocations: 0 / 0.5064 GB, free: 7.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008262/0.1962, allocations: 141.4 kB / 0.5065 GB, free: 7.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/0.1963, allocations: 77.11 kB / 0.5066 GB, free: 7.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1966, allocations: 137.8 kB / 0.5067 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1966, allocations: 29.7 kB / 0.5068 GB, free: 7.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.1967, allocations: 88.14 kB / 0.5068 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1967, allocations: 19.84 kB / 0.5069 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.1968, allocations: 13.72 kB / 0.5069 GB, free: 7.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.197, allocations: 334.7 kB / 0.5072 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1971, allocations: 19.98 kB / 0.5072 GB, free: 6.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1972, allocations: 29.7 kB / 0.5072 GB, free: 6.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1974, allocations: 40.83 kB / 0.5073 GB, free: 6.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1974, allocations: 4 kB / 0.5073 GB, free: 6.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002423/0.1977, allocations: 85.59 kB / 0.5074 GB, free: 6.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1977, allocations: 4 kB / 0.5074 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1977, allocations: 0 / 0.5074 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.1977, allocations: 4 kB / 0.5074 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.1978, allocations: 11.98 kB / 0.5074 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1978, allocations: 3.984 kB / 0.5074 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.1979, allocations: 4.25 kB / 0.5074 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1979, allocations: 3.938 kB / 0.5074 GB, free: 6.703 MB / 398.1 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 0.0001741/0.198, allocations: 121.8 kB / 0.5075 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.1981, allocations: 7.953 kB / 0.5075 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.1985, allocations: 101.5 kB / 0.5076 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1985, allocations: 0 / 0.5076 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1985, allocations: 0 / 0.5076 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1985, allocations: 0 / 0.5076 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.1991, allocations: 338.5 kB / 0.5079 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1991, allocations: 4 kB / 0.5079 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.1992, allocations: 15.92 kB / 0.508 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1992, allocations: 0 / 0.508 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1992, allocations: 3.938 kB / 0.508 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1992, allocations: 7.938 kB / 0.508 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1992, allocations: 0 / 0.508 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1995, allocations: 175.5 kB / 0.5081 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.1996, allocations: 81.11 kB / 0.5082 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1996, allocations: 0 / 0.5082 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.1997, allocations: 11.94 kB / 0.5082 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.1998, allocations: 7.984 kB / 0.5082 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1998, allocations: 0 / 0.5082 GB, free: 5.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1999, allocations: 103.3 kB / 0.5083 GB, free: 5.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.5083 GB, free: 5.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.2002, allocations: 23.92 kB / 0.5084 GB, free: 5.609 MB / 398.1 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.00288/0.2031, allocations: 1.048 MB / 0.5094 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.2034, allocations: 51.91 kB / 0.5094 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.2034, allocations: 4 kB / 0.5094 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2035, allocations: 23.92 kB / 0.5095 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.2041, allocations: 19.92 kB / 0.5095 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.2067, allocations: 1.37 MB / 0.5108 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.2072, allocations: 0.6923 MB / 0.5115 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.2073, allocations: 12.05 kB / 0.5115 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.2073, allocations: 27.42 kB / 0.5115 GB, free: 2.285 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2073, allocations: 3.938 kB / 0.5115 GB, free: 2.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.2427, allocations: 2.74 MB / 0.5142 GB, free: 15.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.86, allocations: 11.84 kB / 0.5142 GB, free: 15.47 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time